Files
laravel-manager-packagist/AGENTS.md
T

1.5 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: 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; helper agents are counted in the row, one row per model).

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 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.
  3. How the host's own User and a package Group relate when the host has its own roles.