Installation
Install Adminix with Composer.
Adminix requires PHP >=8.2 with PDO, mbstring, and SimpleXML extensions.
Laravel auto-discovers the package service provider through Composer. Add the provider manually only if package auto-discovery is disabled in your application.
Publish the package config and assets with the installer command.
Use --examples when you want to publish example page providers, and --force when published files must be overwritten.
You can still publish each group manually.
Publish Adminix assets.
The laravel-assets tag publishes Adminix CSS, fonts, runtime JavaScript, and CKEditor 5 runtime files needed by the package views. It does not publish CKEditor samples or non-runtime CKEditor documentation into the consuming app's public directory.
Optionally publish example page providers.
Authorization
Skip this section only if you explicitly allow access without authorization by setting no_auth_access to true. Do not enable no_auth_access in production.
Run migrations.
Add the AdminixUser trait to your user model and implement AdminixUserInterface. Usually the model is App\Models\User.
In config/adminix.php, make sure that admin_user_model points to your user model.
Robots.txt
Optionally disallow indexing Adminix pages for search engines in robots.txt.
After installation, configure the pages and menu of your admin panel. For production projects, also review Security.