Admin generator auto CRUD based on Laravel.
tianrosandhy/autocrud-laravel is a Laravel package for admin generator auto crud based on laravel..
It currently has 0 GitHub stars and 45 downloads on Packagist (latest version v1.3.3).
Install it with composer require tianrosandhy/autocrud-laravel.
Discover more Laravel packages by tianrosandhy
or browse all Laravel packages to compare alternatives.
Last updated
First you need to install just like default laravel (but with tianrosandhy/autocrud-laravel)
$ composer create-project tianrosandhy/autocrud-laravel
$ composer install
$ cp .env.example .env
$ php artisan key:generate
then setup .env with correct database connection & base APP_URL
$ php artisan migrate
$ php artisan storage:link
Last, open via browser for initial setup (superadmin account), then after setup finish, you can open CMS in {base_url}/p4n3lb04rd to access the CMS
You must run this command first to activate the CMS :
php artisan autocrud:superadmin
This command will guide you to create an initial superadmin account that have all access in CMS.
You can create module easily with this command :
$ php artisan autocrud:module {Module Name}
$ php artisan autocrud:blankmodule {Module Name}
Note : module name will be generated in PascalCase without space.
autocrud:module is to generate a full auto crud, and autocrud:blankmodule is to generate a module basic scaffolding without autocrud. Blank module is useful when you want to create a really customized module without AutoCRUD scaffolding. Then, you need to register the new module's service provider to config (config/modules.php) :
<?php
//config/modules.php
return [
'load' => [
'\App\Modules\ModuleExample\Providers\ModuleExampleServiceProvider',
],
];
After that, you will be able to manage the module in "app/Modules/ModuleExample" for mor customization.
You can create a submodule easily with this command :
$ php artisan autocrud:submodule {Module Target} {Sub Module Name}
$ php artisan autocrud:blanksubmodule {Module Target} {Sub Module Name}
Note : {Module Target} must be a valid and exists module name. Sub module name will be generated in PascalCase without space.
Same as module scaffolding, but this command will generate a scaffolding in a existing module. So you can group a bunch of module that have a same purpose.