Add manager:install, manager:doctor and an integration guide for AI agents

This commit is contained in:
Matthijs Iriks committed 2026-12-04 03:44:10 +01:00
1 parent ebb5063ed1
commit 6f4d9b44f2
17 files changed
+388 -1

No files matched your search

@@ -0,0 +1,8 @@
## iriks-it/laravel-manager
A modular backend (users, media, pages, posts, reviews, audit, statistics) installed as a package.
- To integrate it, follow `vendor/iriks-it/laravel-manager/resources/ai/INTEGRATION.md` step by step.
- Set it up with `php artisan manager:install --modules=... --user-model=...`; verify with `php artisan manager:doctor --json` (non-zero exit on failure, every problem has a `fix`).
- The user model needs the `HasManagerAccess` trait; `is_super_admin` is never mass assignable. The first super admin comes from `php artisan manager:create-user`.
- Switch parts with `MANAGER_<MODULE>=true|false`; never edit `vendor/`. Site-specific parts are your own `Module` class.