waffle-commons / contracts
Contracts component for Waffle framework.
Installs: 463
Dependents: 11
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/waffle-commons/contracts
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
This package is auto-updated.
Last update: 2026-01-06 15:23:17 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.