it's a easy tool for laravel +5.1 to generate crud functions base database tables

1.0.1 2018-01-14 22:45 UTC


This package generate CRUD(Create, Read, Update and Delete) files base database tables, to save time for programmer.


Require this package with composer using the following command:

composer require dweik/crud-generator

After updating composer, add the service provider to the providers array in config/app.php


To install this package on only development systems, add the --dev flag to your composer command:

composer require --dev dweik/crud-generator

In Laravel, instead of adding the service provider in the config/app.php file, you can add the following code to your app/Providers/AppServiceProvider.php file, within the register() method:

public function register()
    if ($this->app->environment() !== 'production') {
    // ...

This will allow your application to load the Laravel CRUD Generator on non-production environments.

Automatic CRUD generation for Laravel

You can now generate the CRUD files by

php artisan crud:generate

The Laravel CRUD Generator is open-sourced software licensed under the MIT license