Tag Archives: crud package in laravel


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

Continue reading