Scaffold Interface for laravel v5.1 it's simple and useful
####features :
-
Generate your model,views,controller and migrations just in few clicks.
-
Using an interface to design your table.
-
Rollbacking possibility.
-
Craft your laravel application faster and easier.
###I. Package installation
- Add scaffold-interface to your composer.json file to require Scaffold-Interface :
```json
require : {
"laravel/framework": "5.1.*",
"Amranidev/scaffold-interface": "dev-master"
}
```
- Update Composer :
```
composer update
```
- Add the service provider to config/app.php :
```php
Amranidev\ScaffoldInterface\ScaffoldInterfaceServiceProvider::class,
Amranidev\Ajaxis\AjaxisServiceProvider::class,
```
- Publish assets in your application with :
```
php artisan vendor:publish
```
- Migrate scaffoldinterface :
```
php artisan migrate
```
Congratulations, you have successfully installed Scaffold Interface!
###II. Usage
- Access to scaffold interface :
"localhost:8000/scaffold" to get into scaffoldinterface.
-
Table creation :
tablename must be tiny and plural for example : products . you can add many of attributes like (String,date,longtext,etc.)
-
After creation :
to complete your scaffolding . go to your terminal and type.
$ php artisan migrate
-
Finally :
scaffolding it's done. you can use your CRUD for example : localhost:8000/product
###contact : [email protected]