Category : PHP

ItSolutionStuff.com have tutorials for PHP, here you can study articles of PHP, PHP posts collection, most popular and useful tutorials of PHP, here you can find list of all relevant posts and example about PHP, we have lists of tutorials and examples about PHP.very simple and quick example collection of Latest PHP category.



How to Create Dynamic Sitemap in PHP Codeigniter?

A Sitemap is very important for Google, Yahoo, being SEO. every site basic requirement is sitemap because we can give XML sitemap to google web console tool. So here I would like to share with you how to create dynamic XML sitemap in CodeIgniter 3 application. we will generate sitemap XML without using any plugin or anything in CodeIgniter application. Here, you need to simply follow few steps to add XML sitemap for SEO in PHP CodeIgniter. I simply created one table with items and getting all slug URL and make it dynamic sitemap. So you just see below code with the route, controller and view .....

By Hardik Savani | March 24, 2018 | | 18589 Viewer | Category : PHP
READ MORE

Laravel 5.6 - User Roles and Permissions (ACL) using Spatie Tutorial

ACL stands for Access Control List. ACL roles and permissions are very important if you are making big application in laravel 5.6. this tutorial will explain how to implement User Roles and Permissions(ACL) using spatie/laravel-permission composer package. So basically i will do it from scratch how to create permissions, roles, and users with assign roles etc. I also posted on tutorial for ACL User Roles and Permissions using entrust package, you can see here : <a href="https://itsolutionstuff.com/post/laravel-52-user-acl-roles-and-permissions-with-middleware-using-entrust-from-scratch-tut.....

By Hardik Savani | March 17, 2018 | | 42034 Viewer | Category : PHP
READ MORE

Laravel 5.6 - Log viewer using LogViewer package example

Laravel provides log file that store all runtime error exception or any other error that get, we can view log file better using LogViewer composer package. laravel store very logs on a log file. So if it occurs any error, warning, alert etc that store in laravel log file. but it is store in error format, we can make it readable format and know how much error with a description, so we can resolve it and make it a better web application. Here we will use LogViewer composer package for reading better way of an everyday log file. if you make setup on life for this format then we can simply monito.....

By Hardik Savani | March 11, 2018 | | 26117 Viewer | Category : PHP
READ MORE

PHP Laravel 5.6 - Rest API with Passport Tutorial

In this post, I would like to share with you how to create restful API with Passport authentication in laravel 5.6. I will create rest API with passport installation and implementation for authentication from scratch so you can easily understand and use it with your application. In today's, laravel become more famous PHP framework. almost are prefer laravel for creating API for back-end framework because laravel is the best framework. Laravel provides several features like security, rest API, middleware, passport, events, models, routing etc. it is very easy to use and make it clean code wit.....

By Hardik Savani | March 6, 2018 | | 50850 Viewer | Category : PHP
READ MORE

Multiple Database Connection in PHP Codeigniter 3

Today, I want to share with you how to connect multiple databases in PHP CodeIgniter 3 application. it is very easy to configure multiple databases in CodeIgniter app. you can simply add database query, join etc with multiple databases. As we know well, in today we may need to add multiple databases on our application. all then framework provides multiple database connections. Codeigniter also provide multiple database connections in a single app. We have to simply add database configuration array to database.php file. Then we can simple load specific database data by using "$this->load->dat.....

By Hardik Savani | February 27, 2018 | | 18932 Viewer | Category : PHP
READ MORE

Laravel 5.6 CRUD Application for Starter

Here, I would like to share with you basic crud(create, read, update and delete) application module in laravel 5.6 version. In this port i will show explain simple inert update delete application in laravel 5.6 project. You have to just follow bellow step to create CRUD app in laravel 5.6. Laravel is a popular open-source PHP MVC Framework with lots of advanced development features. Laravel released it's new version 5.6 as few days ago. If you are learner or beginner of crud example in laravel 5.6 application then you are a right place. It's always help to more understand or learn from crud.....

By Hardik Savani | February 19, 2018 | | 58397 Viewer | Category : PHP
READ MORE

How to set and get config item value in Codeigniter?

Today, i would like to share with you how to set config item value in our codeigniter project. as well as i will share with you how to read that variable value that way we can use global variable in codeigniter 3 application. We may need to define some global item like site url, site title, site meta data etc that way we can use it in our whole application. So here is very simple and basic example i am going to give you to define set and get config item value in Codeigniter 3 application. we will use "$this->config" variable for set configuration item value. we will use "set_item()" and "it.....

By Hardik Savani | February 15, 2018 | | 19830 Viewer | Category : PHP
READ MORE

Install Adminer In PHP Laravel 5

Today, i am going to share with you how to install adminer in Laravel 5 application. As we know adminer is similar like phpmyadmin. So if you want to install adminer in your server then follow bellow step and get full example for installation of adminer in laravel framework. <strong>Preview:</strong> <img src="/upload/laravel-adminer.png" class="post-img"> <strong class="step">Install Package</strong> In this step we have to laravel-adminer package for adminer so one your cmd or terminal and fire bellow command: <pre> composer require onecentlin/laravel-adminer </pre> After successfully i.....

By Hardik Savani | February 4, 2018 | | 20848 Viewer | Category : PHP
READ MORE

Codeigniter 3 Datatables Ajax Example From Scratch

Datatables is one of the best libraries for display data in tabular format and easily ajax search, sort, pagination etc. here I give you an example of CodeIgniter 3 with database ajax integration example. you can easily use jquery ajax datatables in your codeigniter project. This post is going to look at how you can implement datatables plugin into your CodeIgniter application. We will be grabbing some data from a database and then using Datatables' plugin to display it, allowing for ajax searching, sorting and pagination feature. I would like to give you very short and quick example, so you.....

By Hardik Savani | January 28, 2018 | | 25765 Viewer | Category : PHP
READ MORE

API Testing Tools in Laravel 5

In this post, I would like to create your own laravel API testing tool in your laravel 5 application. you can install API tester tool in your laravel app. we will use laravel-api-tester composer package for laravel tool. As we know laravel framework is most popular farmworker in the world today. laravel is popular for front-end like vuejs, angularjs, react js etc as well as most popular for back-end side. Laravel is popular for back-end for API creation. Today in market laravel is famous for APIs building. almost code PHP project converting in Laravel framework because laravel provide better.....

By Hardik Savani | January 21, 2018 | | 22017 Viewer | Category : PHP
READ MORE