This document describes the main components that help to understand how a litstack application is built.
After installing Litstack the
./lit folder is created in
your laravel application. Think of it as an its own isolated laravel
application in your laravel application. It contains the
folder containing assets and views, an
./lit/app folder with the php classes
for your Litstack app and other folders that are also present in the root
Isolating your administration application from your app provides a clear structure of your actual business logic.
For almost every creator commands provided by laravel, there is a similar one
that creates the corresponding files into the
./lit folder. The commands use
lit prefix instead of
php artisan lit:controller php artisan lit:request php artisan lit:job
There is a creator command for livewire as well:
php artisan lit:livewire Counter
Litstack brings a simple user-friendly permissions handler. Additionally there
is an easy way to create or delete the existing permissions using the migration
Configure the desired permission groups in it and create them with the artisan
php artisan lit:permissions
lit:permissions command to your deploy script to keep the
permissions in your production database up to date.