1.8 KiB
1.8 KiB
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:
productionis what is released,developis production plus nothing (the sync),release/vX.Y.Zcollects the features of a release. Work onfeature/…orfix/…fromdevelopand open the pull request to the release branch; never todeveloporproduction. A release is a pull request from the release branch toproduction, merged by hand: never by me. See the README, "Development cycle". - No mention of an AI in commits or PRs. Keep a row per piece of work in
TOKENS.md(dev/token-usage.py; helper agents are counted in the row, one row per model).
Open decisions
- 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.
- Moving the rest from bouwbedrijf.iriks-it.nl, module by module: posts (+labels), pages, reviews, then revisions, audit log, login and profile. Users and media are done. Leave out what is site-specific (the IriksIT API disk, the owner's simple screens, client names): this repo is public.
- How the host's own
Userand a packageGrouprelate when the host has its own roles.