LaravelPackages.net
Acme Inc.
Toggle sidebar
larasnap/laravel-crud

CRUD Generator for LaraSnap Admin

127
5
v1.0.0
About larasnap/laravel-crud

larasnap/laravel-crud is a Laravel package for crud generator for larasnap admin. It currently has 5 GitHub stars and 127 downloads on Packagist (latest version v1.0.0). Install it with composer require larasnap/laravel-crud. Discover more Laravel packages by larasnap or browse all Laravel packages to compare alternatives.

Last updated

LaraSnap CRUD

LaraSnap CRUD helps you to create CRUD operation with a single line of code with 2 fields(Name, Label) by default. Before using the LaraSnap CRUD make sure LaraSnap Admin Composer Package is installed on your application.

For example, if you want to create a CRUD for photos you can create it by using the php artisan larasnap:crud Photo command. Here Photo is name of the CRUD & use Pascal Case for the CRUD name.

The command will create the following files, migration file & adds the routes to application web.php file.

  • app/Photo.php
  • app/Http/Controllers/PhotoController.php
  • app/Http/Services/PhotoService.php
  • app/Http/Filters/PhotoFilters.php
  • app/Http/Requests/PhotoRequest.php
  • resources/views/photos/

Once the files are generated run composer dump-autoload from the terminal to finish the process.

Star History Chart