yassinedabbous / laravel-generex
Customizable Laravel Code Generator with templates for CRUD, Validation, Policies, Events, Notifications, API & views
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/yassinedabbous/laravel-generex
Requires
- php: >=7.4
- laravel/framework: ^5.5|^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
README
Laravel Generex
Customizable Laravel Code Generator with templates.
✨ Features
- Generating packages with CRUD from a ready DB table or a schema file.
- Everything is customizable.
- Support for plain stub & blade engine
- Templates are yours, No forced structure.
🔻 Installation
composer require yassinedabbous/laravel-generex
🧑💻 Usage
Artisan command:
php artisan gen:pack {TableName}
-
If you didn't define a table name you will be asked you to choose one from the list.
-
Full command options:
php artisan gen:pack {TableName} --vendor={YourName} --package={PackageName} --connection={mysql}
⚙️ Configuration
-
Publish configuration:
php artisan vendor:publish --tag=generex-config -
Publish templates:
php artisan vendor:publish --tag=generex-templates
