Check for names the site already uses, and bring the docs up to 0.5.0
This commit is contained in:
1 parent
a921f14d85
commit
541d1ee690
8 files changed
+77
-8
No files matched your search
@@ -1,9 +1,10 @@
|
||||
## iriks-it/laravel-manager
|
||||
|
||||
A modular backend (users, media, pages, posts, reviews, audit, statistics) installed as a package.
|
||||
A modular backend (users, media, pages, posts, reviews, audit, statistics, resources, revisions) 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=...`, then `config:clear`, `migrate`, `storage:link`; verify in a new process with `php artisan manager:doctor --json` (non-zero exit on failure, every problem has a `fix`).
|
||||
- The screens come with the package (`MANAGER_UI`), including a login when the app has none; themes: `php artisan manager:make-theme`, `MANAGER_THEME`.
|
||||
- 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`.
|
||||
- The site's content is configuration: `manager.pages.definitions`, `manager.resources`, `manager.menu`, `manager.permissions`, `manager.login.checks`; code only as a JavaScript module in `manager.extensions`. Existing data comes in with `php artisan manager:import`.
|
||||
- Switch parts with `MANAGER_<MODULE>=true|false`; never edit `vendor/`. Site-specific parts are your own `Module` class.
|
||||
Reference in new issue
Block a user