https://github.com/sohelamin/laravel-crud-generator
Laravel CRUD Generator
https://github.com/sohelamin/laravel-crud-generator
Last synced: about 1 month ago
JSON representation
Laravel CRUD Generator
- Host: GitHub
- URL: https://github.com/sohelamin/laravel-crud-generator
- Owner: sohelamin
- Created: 2015-05-03T09:43:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-03T18:09:15.000Z (over 10 years ago)
- Last Synced: 2025-06-24T23:05:16.298Z (4 months ago)
- Language: PHP
- Size: 137 KB
- Stars: 14
- Watchers: 5
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel5 Crud Generator
Laravel CRUD Generator## Installation
1. Put these files into laravel directory same as github hierarchy.
2. Add service provider into **/config/app.php** file.
```php
'providers' => [
...
'App\Providers\AppzcoderCrudGeneratorServiceProvider',
```3. Run command **composer du** and **composer update**
## Commands
#### Crud command:
```
php artisan crud:generate crud-name --fields="name:string, email:string, phone:integer, message:text"
```-----------
#### Others individual command (optional):
For controller generator:
```
php artisan crud:controller NameController --crud-name="Name"
```For model generator:
```
php artisan crud:model Name --fillable="['name', 'email', 'message']"
```For migration generator:
```
php artisan crud:migration migration-name --schema="name:string, email:string, phone:integer, message:text"
```For view generator:
```
php artisan crud:view view-crud-name --fields="name:string, email:string, phone:integer, message:text"
```##Author