Scaffold Interface for laravel. it's simple and useful
Generate OneToMany RelationShip just in few clicks available only on dev-master.
if you want to test it. Require dev-master.
####Features :
-
Generate your model,views,controller and migrations just in few clicks.
-
OneToMany relationship . only (dev-master)
-
Delete confirmation message.
-
Using an interface to design your table.
-
Rollbacking possibility.
-
Template changing 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": "1.0.*"
}
```
- 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 :
create your table . you can add many of attributes such 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. go to http://{your-project}/scaffold
-
Rollback
Now if you want to rollback your table just check this
Before you make your rollback make sure that you have rollbacked your table from database and avoid to keep routes recoureces.
####Contribution
Any ideas are welcome. Feel free to submit any issues or pull requests.
####contact : amranidev@gmail.com