This laravel tutorial help to create new artisan command into laravel 5.Artisan is awesome feature of laravel. Artisan is the command-line interface of laravel.Laravel provides a number of helpful artisan commands for your use while developing your application.
Php
PHP Rest API Documentation Using APIDoc
This tutorial help to create REST API docs using APIDOc. The apiDoc creates a documentation using API annotations from your PHP source code.There are a lot of application are running into micro services and Rest services.
How to Play with Data Using Laravel Collection Methods
This tutorial explains about how to work with Laravel collection with Eloquent. I will provide all popular methods of laravel collection. You can convert any PHP array data into the collection and vice-versa as well. The Illuminate\Support\Collection class provides a fluent, convenient wrapper for working with arrays of data into Laravel application. The Laravel Eloquent […]
Laravel Eloquent Queries with Eager Loading
Laravel Eloquent has many in-built functionalities for data layer, The one of them is eager loading on dataset. The Eloquent help to solve N+1 queries problem.The eager loading can drastically increase the performance of your application. The eager work with relational data set, that mean you need to define relational between two tables or many […]
Simple Ajax Pagination with PHP
In previous tutorial we have learn Simple tutorial of pagination in php, here we will learn php pagination with ajax.now days we are using ajax functionality for each request.We are using jQuery library for Ajax request and MySQL for database. We have following files: 1- db.php : This file contains db connection information. 2- pagination.php […]