First setup: module registry, switchable modules, permissions
This commit is contained in:
commit
936c794597
52 files changed
+1304
No files matched your search
@@ -0,0 +1,19 @@
|
||||
# laravel-manager — context for AI agents
|
||||
|
||||
Composer package (`iriks-it/laravel-manager`, namespace `IriksIT\Manager`): the manager that used to be copied
|
||||
between lil-koneko.com, CarsHub, iriks-it.nl and bouwbedrijf.iriks-it.nl, as one package. Public repo, published to Packagist.
|
||||
|
||||
## Rules
|
||||
|
||||
- Every part is a `Module` (`src/Modules/<Name>`): permissions, menu, `routes.php`, `migrations/`. Off means nothing is registered.
|
||||
- Core modules (users, media) are on by default; the rest is off or on per `config/manager.php`.
|
||||
- Nothing site-specific in the package. A site's own part is its own module class.
|
||||
- Tests: `composer test` (Pest + Testbench); style: `composer lint` (Pint).
|
||||
- Branches: `production` is main, work on `feature/…` from `develop`; I never merge to `production`.
|
||||
- No mention of an AI in commits or PRs. Keep a row per piece of work in `TOKENS.md` (`dev/token-usage.py`).
|
||||
|
||||
## Open decisions
|
||||
|
||||
1. Frontend: ship the Inertia/Vue screens inside the package (built assets, published to the host) or make the package headless with a separate UI package.
|
||||
2. Moving the real controllers, revisions, audit log and the Thijs-style "simple screens" from bouwbedrijf.iriks-it.nl, module by module.
|
||||
3. How the host's own `User` and a package `Group` relate when the host has its own roles.
|
||||
Reference in new issue
Block a user