Local development
Getting started
Section titled “Getting started”git clone git@github.com:bambamboole/laravel-oidc.gitcd laravel-oidccomposer installThe package is developed against a Orchestra Testbench
workbench harness — there is no full Laravel app to boot. composer install runs
testbench package:discover (via the post-autoload-dump script) to wire the package into the
harness; composer clear purges the generated skeleton if you need to reset it.
The quality gates
Section titled “The quality gates”Three composer scripts back the CI matrix (Laravel 11 / 12 / 13). Run them individually, or run all
three at once with composer check:
composer test # Pest test suitecomposer test:lint # Pint in --test mode (fails on style violations)composer analyse # PHPStan static analysiscomposer check # runs test:lint, analyse, and test in sequenceTo auto-fix code style instead of just checking it:
composer lint # Pint (applies fixes)Run composer check before opening a pull request — it mirrors what CI enforces.
The docs site
Section titled “The docs site”The documentation is an Astro Starlight site — content lives
under docs/, and the Node toolchain runs from the repository root:
npm installnpm run docs:dev # local dev server with hot reloadnpm run docs:build # production buildnpm run docs:preview # preview the production buildPages live under docs/content/docs/ as Markdown with Starlight frontmatter (title,
description). Match the voice and cross-linking of the existing pages when adding new ones.