Skip to content

zOxta/scaffold-interface

 
 

Repository files navigation

Build Status Latest Stable Version License

ScaffoldInterface (CRUD Generator)

Scaffold

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

  1. Add scaffold-interface to your composer.json file to require Scaffold-Interface :
```json
require : {
"laravel/framework": "5.1.*",
"Amranidev/scaffold-interface": "1.0.*"
}
```
  1. Update Composer :
```
composer update

```
  1. Add the service provider to config/app.php :
```php

Amranidev\ScaffoldInterface\ScaffoldInterfaceServiceProvider::class,
Amranidev\Ajaxis\AjaxisServiceProvider::class,

```
  1. Publish assets in your application with :
```
$ php artisan vendor:publish

```
  1. Migrate scaffoldinterface :
```
$ php artisan migrate

```

Congratulations, you have successfully installed Scaffold Interface!

###II. Usage

  1. Access to scaffold interface :
"localhost:8000/scaffold" to get into scaffoldinterface.
  1. Table creation :

    create your table . you can add many of attributes such like (String,date,longtext,etc.)

  2. After creation :

    to complete your scaffolding . go to your terminal and type.

    $ php artisan migrate
    
    
  3. Finally :

    scaffolding it's done. go to http://{your-project}/scaffold

  4. Rollback

    Now if you want to rollback your table just check this

    Imgur

    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

About

laravel CRUD Generator . i'ts simple and useful

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 91.3%
  • JavaScript 8.7%