PhpDev.App
amranidev/scaffold-interface

amranidev/scaffold-interface

Stars: 901

Forks: 139

Pull Requests: 90

Issues: 89

Watchers: 57

Last Updated: 2023-03-16 17:54:29

:rocket: A Smart CRUD Generator For Laravel

License: MIT License

Languages: PHP, JavaScript, CSS, HTML, Blade

https://amranidev.github.io/scaffold-interface/docs/

Imgur Gitter chat Build Status StyleCI Built For Laravel Total Downloads Latest Stable Version Latest Unstable Version License

Scaffold

Features

  • Generate your models, views, controllers, routes and migrations just in a few clicks.

  • Models visualization through a graph presentation (New Feature).

  • Views scaffolding support Bootstrap and Materialize css.

  • Generate (OneToMany,ManyToMany) relationships including views and controllers.

  • Websockets using pusher notifications.

  • AdminLTE dashboard template with users management system (users-roles-permissions) using laravel-permission.

  • Softdeletes and timestamps.

  • A delete confirmation message.

  • Using an interface to design your table.

  • Rollback possibility.

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

Installation

  1. Run the following command:

composer require amranidev/scaffold-interface

  1. Add the service providers to config/app.php:
Amranidev\ScaffoldInterface\ScaffoldInterfaceServiceProvider::class,
Amranidev\Ajaxis\AjaxisServiceProvider::class,
Spatie\Permission\PermissionServiceProvider::class,
Pusher\Laravel\PusherServiceProvider::class,
  1. Publish the assets in your application with:

php artisan vendor:publish

  1. Run migrations:

php artisan migrate

  1. Authentication scaffolding:

php artisan make:auth

  1. Add HasRole dependency to app/User.php:
<?php

namespace App;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Notifications\Notifiable;
use Spatie\Permission\Traits\HasRoles;

class User extends Authenticatable
{
    use Notifiable;
    use HasRoles;
}

Congratulations, you have successfully installed Scaffold Interface!

Detailed Documentation

Full documentation.

Contribution

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

Author

Credits

Contact : [email protected]