larasnap / laravel-crud
CRUD Generator for LaraSnap Admin
Installs: 127
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/larasnap/laravel-crud
This package is auto-updated.
Last update: 2025-09-24 23:24:02 UTC
README
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.