groton-school / slim-norms
Define some normal interfaces and abstract classes for working with the Slim Framework
1.0.1
2025-08-08 23:37 UTC
Requires
- php-di/php-di: >=6.0
- psr/http-message: ^2.0
- slim/http: ^1.4
- slim/slim: ^4.14
Requires (Dev)
README
Define some normal interfaces and abstract classes for working with the Slim Framework
Install
composer require groton-school/slim-norms
Use
When developing Slim Framework-related packages, use...
- Extend
AbstractAction
to easily create invokable actions. - Implement
DependenciesInterface
to script injecting package-related dependencies; - Implement
RouteBuilderInterface
to define package-related routes;
See groton-school/slim-gae-shim for sample usage.