4 Commits
Author SHA1 Message Date
dgarcia 9416b68729 chore: release 1.0.0
Tests / PHP 8.3 (push) Failing after 11s
Tests / PHP 8.4 (push) Failing after 28s
2026-11-15 10:23:43 -03:00
dgarcia 9bfd039d50 test: add coverage config, CI workflow and changelog
Tests / PHP 8.3 (push) Failing after 8m19s
Tests / PHP 8.4 (push) Failing after 7m43s
- Move coverage reports to phpunit.coverage.xml.dist: a coverage driver is optional and
  failOnWarning would turn its absence into a failed gate.
- Add a composer coverage script and document the requirement.
- Exclude development-only files from the distribution archive via export-ignore.
- Add a Gitea Actions workflow running composer check on PHP 8.3 and 8.4.
- Add CHANGELOG.md following Keep a Changelog.
- Add Packagist and CI badges to the README.
2026-11-15 10:21:12 -03:00
dgarcia d879c9781e chore: force LF line endings 2026-11-15 10:14:42 -03:00
dgarcia 341d1bdc2c feat: initial commit of camelia/controllers
Framework-agnostic REST controller toolkit in vanilla PHP.

- Router with path parameters, 404 and 405 with an Allow header.
- Immutable Request, JsonRequest and Response; nothing is printed.
- CrudController over a ResourceGateway port the application implements.
- Composable Middleware/Pipeline chain.
- Security middlewares: BearerAuth, RequireRole, RateLimit, Cors.
- Transport middlewares: Logging, ContentNegotiation.
- Nine typed HTTP exceptions with snake_case JSON bodies.
- Declares PHP >=8.3 and no dependency on an ORM: ports are local.
- MIT license.
2026-11-15 10:14:27 -03:00