Installation
Needs PHP 8.4 and Laravel 13.
- Put
IriksIT\Manager\Concerns\HasManagerAccess on the User model of the app. Keep is_super_admin out of $fillable.
- Set
manager.user_model (env MANAGER_USER_MODEL) when the model is not App\Models\User.
- Make the first account, a super admin:
php artisan manager:create-user. It is the only way to make one.
- Open
/manager (change it with MANAGER_PATH). The package brings its own screens, a login and a profile; an app that has a route named login keeps using its own.
With an AI agent
manager:doctor checks the user model and trait, the tables of the active modules, the routes, the login, a super admin, the media disk and
(with audit on) the proxy setup. Each problem has a fix; the exit code is non-zero on a failure. The guide for an agent is
resources/ai/INTEGRATION.md in the package (tested with a fresh agent that only had that file), and resources/boost/guidelines/core.blade.php is read by Laravel Boost.
The screens: see Screens and themes. MANAGER_UI=none leaves only the JSON routes.
Behind a proxy: set up trusted proxies before switching on the audit log, or every visitor looks like one address.