Web Development

create-custom-package-in-laravel-5

How to create a custom package in laravel 5

Hello World, Today I am going to discuss how to create a custom package in laravel 5. In this tutorial, we will create a crud package. We will discuss migrations, routes, models, controllers, views and package configuration in this tutorial. You can download the full source code of this tutorials at here.

I have divided this tutorial in the following part,

  • Package introduction
  • Package directory structure
  • Package configuration via composer
  • Load package from composer.json¬†file
  • Create Crud Controller
  • Create Crud Model and migration
  • Create Crud Routes
  • Create Crud Views
  • Connect Package with Laravel
  • Test you package

Read More »How to create a custom package in laravel 5

create-custom-library-in-codeigniter-3

Create a custom library in codeigniter 3

Hello World, Today i am going to create a custom library in codeigniter 3. Library refers to a class which is location in application/libraries folder. This folder contains only user defined libraries. Codeigniter have their own library which is located in system/libraries.

We should not modify the core library of any framework or any CMS becuase when you will update your system, your changes will disappear. Codeigniter provides facility to extend the core library classes and add some additional feature in it. In codeigniter, we can perform following things with library.

  • Create library from scratch
  • Extend the functionality of existing library
  • Replace the functionality of existing library

Read More »Create a custom library in codeigniter 3

create-reactjs-application-with-laravel-api

create reactjs application with laravel api

Hello World, Today i am going to create reactjs application with laravel api from scratch. In this application, we will fetch data from database with laravel resource api and show in reactjs application. In this tutorial, I have created two different application one is in laravel and other is in reactjs and then we have connected these both with api.

Laravel

  • Install Laravel
  • Create product model and migration
  • Generate dummy data
  • Create Product resource
  • Route for api request
  • Test our application

Read More »create reactjs application with laravel api

create-load-more-ajax-pagination-in-laravel-5

Create load more pagination with ajax in laravel | Laravel Tutorials

Hello World, Today i am going to create load more pagination with ajax in laravel. In this tutorial, we will create a product list example in which we will show product list with load more button. When we will click on the load more button the more products will load at the bottom of current list without reloading the page. If all products has been loaded then load more button will hide. So lets start this tutorial.

I have divided this tutorials into followings steps:

  • Create product model and migration
  • Table schema setting for product data
  • Generate dummy data for products
  • Create Product Controller
  • Routes Setting
  • Create product list template to show default products
  • Implement load more pagination code
  • Route Setting
  • Product Controller Setting
  • Run the example application

Read More »Create load more pagination with ajax in laravel | Laravel Tutorials

how-to-create-pagination-in-laravel

Create pagination in laravel

Hello World, Today i am going to create pagination in laravel. In this laravel tutorial, we will implement simple bootstrap 4 style pagination. For this example, i will extends my previous tutorial in which i have implemented ajax working in laravel.

I have divided this tutorial into following parts:

  • Fetch data according to pagination in controller
  • Setup route for showing all data
  • Create template to show data with pagination

Read More »Create pagination in laravel

implement-search-with-laravel

Implement search in laravel

Hello World, Welcome to my website. Today i am going to implement search in laravel. In this tutorial, I will extends my previous tutorial. My previous four laravel tutorials are interconnected with each other. I want to share my knowledge with example so that i am following my previous tutorial because in my previous tutorials i an working on blog application. In this tutorial, we will implement search with url parameter and count the total search result.

I have divided this tutorial into following parts,

  • Create search form
  • Implement search with controller
  • Run the project

Read More »Implement search in laravel