mcotten / scaffold-interface

:rocket: A Smart CRUD Generator For Laravel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SensioLabsInsight

Build Status StyleCI Total Downloads Latest Stable Version Latest Unstable Version License

A Smart CRUD Generator

Scaffold

####Features :

  • Generate your model,views,controller and migrations just in a few clicks.

  • Views support Bootstrap and Materializecss.

  • Generate OneToMany relationships including views and controllers.

  • Generate a dashboard template.

  • A delete confirmation message.

  • Using an interface to design your table.

  • Rollbacking possibility.

  • Craft your laravel application faster and easier.

  • Generate CRUD for packages, see Lpackager, CRUD for packages/modules.

###I. Package installation

  1. Run composer require to install Scaffold-Interface :
Add the package to your dependencies in composer.json :

```json
require : {
    "Amranidev/scaffold-interface": "v1.4.*"
}
```

Then update composer :

```
$ composer update
```
  1. Add the service providers to config/app.php :
```php

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

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

```
  1. Migrate for the Scaffold Interface table:
```
$ php artisan migrate

```

Congratulations, you have successfully installed Scaffold Interface!

###II. Quick Start

  1. Access to Scaffold Interface:

    http://{your-project}/scaffold to get into Scaffold Interface.

  2. Table creation:

    You can add many of attributes such as a string, date, longtext,etc.

  3. After the creation, to complete your scaffolding, go to the terminal and run:

    $ php artisan migrate
    
    
  4. Finally:

    Go to http://{your-project}/{your-model} to see the result.

  5. Rollback

    If you want to rollback the table just check this:

    Imgur

    Before you make your rollback make sure that you have rolled back your table in the database.

####Contribution

Any ideas are welcome. Feel free to submit any issues or pull requests.

####TODOS

  • 100% Code coverage + Maximum code quality.
  • Allow to generate ManyToMany relationships.

####DONE

  • Improve Vuejs.
  • Add a select for OneToMany (on data fields) in interface.
  • Laravel 5.2 supported.
  • Laravel 5.1 supported.

####Contact : amranidev@gmail.com

About

:rocket: A Smart CRUD Generator For Laravel

License:MIT License


Languages

Language:PHP 95.3%Language:JavaScript 4.3%Language:CSS 0.4%