pemba / crud
create initial stage crud for easy setup
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/pemba/crud
This package is auto-updated.
Last update: 2025-12-29 03:46:51 UTC
README
Install
composer require pemba/crud
Enable the package (Optional)
This package implements Laravel auto-discovery feature. After you install it, the package provider and facade are added automatically for laravel >= 5.5.
Configuration
After installation, you have to publish config file.
php artisan vendor:publish --tag=crud-config
Usage
To generate module enter following command
php artisan create:module moduleName --migration //--migration is optional
Above command create following files/folders
1.Http/Controllers
ModuleNameController.php
2.Http/Requests
ModuleNameRequest.php
3.Models
ModuleName.php
4.Database/migrations
5.Database/seeders
6.Routes
web.php
7.Views
index.blade.php
create.blade.php
edit.blade.php
form.blade.php
8.Policy
ModuleNamePolicy.php
9.Providers
ModuleNameServiceProvider.php
Other commands
with php artisan
create:model ModelName --migration moduleName //--migration is optional
create:controller ControllerName moduleName
create:migration migration_name table_name moduleName