savannabits/acacia
(an improved successor to savannabits/jetstream-inertia-generator
) is a Backend Modular Code and CRUD generator for Laravel 9.
The code is generated in the following stack:
spatie/laravel-permission
. Follow these Stepslaravel/scout
. By default, acacia will try to configure the basic database
driver for scout during installation. Follow Scout Installation stepsNow you are ready to install Acacia! Don't worry, acacia will be installed as a separate modular component, with its own frontend assets and even compilation process using vite.js, all separate from your main app, allowing you to even mix two frontend stacks together!
To install through Composer, by run the following command:
composer require savannabits/acacia -W
By default, the Acacia's classes are not loaded automatically.
Before proceeding with installation, autoload the Acacia namespace and backend modules using psr-4
by adding the following to your app's composer.json:
{
"autoload": {
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/",
"Acacia\\": "acacia/"
}
}
}
Tip: don't forget to run composer dump-autoload
afterwards.
The package will automatically register its service providers. Then install the necessary files for code generation and backend by running:
php artisan acacia:install
Top: If you would like to force the replacement of existing Acacia files, add the --force option to the command above From here, you are ready to generate code and interact with your new backend.
See a Preview or sample of the backend that you will get using this package HERE.
Username: [email protected]
Password: password
You'll find installation instructions and full documentation on https://acacia.savannabits.com/docs.
The MIT License (MIT). Please see License File for more information.