amranidev / scaffold-interface
A Smart CRUD Generator For Laravel
Requires
- php: >=7.0
- amranidev/ajaxis: 3.0.*
- gajus/dindent: 2.0.*
- pusher/pusher-http-laravel: ^4.0.0
- spatie/laravel-permission: ^2.7
Requires (Dev)
- orchestra/testbench: ~3.5.0
- phpunit/phpunit: ~4.0|~5.0|~6.0
This package is auto-updated.
Last update: 2026-06-17 00:34:50 UTC
README
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
- Run the following command:
composer require amranidev/scaffold-interface
- Add the service providers to config/app.php:
Amranidev\ScaffoldInterface\ScaffoldInterfaceServiceProvider::class, Amranidev\Ajaxis\AjaxisServiceProvider::class, Spatie\Permission\PermissionServiceProvider::class, Pusher\Laravel\PusherServiceProvider::class,
- Publish the assets in your application with:
php artisan vendor:publish
- Run migrations:
php artisan migrate
- Authentication scaffolding:
php artisan make:auth
- 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
Contribution
Any ideas are welcome. Feel free to submit any issues or pull requests.