waffle-commons / contracts
Contracts component for Waffle framework.
0.1.0-alpha4
2026-01-05 09:40 UTC
Requires
- php: ^8.5
- psr/cache: ^3.0
- psr/container: ^2.0
- psr/event-dispatcher: ^1.0
- psr/http-message: ^1.1 || ^2.0
- psr/http-server-handler: ^1.0
- psr/http-server-middleware: ^1.0
- psr/log: ^3.0
Requires (Dev)
- carthage-software/mago: ^1.0.0-rc
- php-mock/php-mock-phpunit: ^2.13
- phpunit/phpunit: ^12.0
- vimeo/psalm: ^6.13
- dev-main
- 0.1.0-alpha4
- 0.1.0-alpha3
- 0.1.0-alpha1
- dev-dependabot/composer/vimeo/psalm-6.16.1
- dev-dependabot/composer/carthage-software/mago-1.15.3
- dev-dependabot/composer/carthage-software/mago-1.14.1
- dev-dependabot/composer/php-mock/php-mock-phpunit-2.15.0
- dev-dependabot/composer/vimeo/psalm-6.15.1
- dev-dependabot/composer/phpunit/phpunit-12.5.8
- dev-feature/hardening
- dev-pre-release/alpha5
This package is auto-updated.
Last update: 2026-03-23 19:47:46 UTC
README
Waffle Contracts Component
A collection of shared interfaces and abstractions for the Waffle Framework ecosystem. This package ensures decoupling and interoperability between components.
📦 Installation
composer require waffle-commons/contracts
📖 Contents
This package provides interfaces for:
- Config:
ConfigInterface - Container:
ContainerInterface(extends PSR-11) - Http:
RequestFactoryInterface,ResponseFactoryInterface - Routing:
RouterInterface - Security:
SecurityInterface - View:
ViewInterface
It is primarily used by library authors building extensions for Waffle.
Testing
To run the tests, use the following command:
composer tests
Contributing
Contributions are welcome! Please refer to CONTRIBUTING.md for details.
License
This project is licensed under the MIT License. See the LICENSE.md file for details.