waffle-commons/contracts

Contracts component for Waffle framework.

Maintainers

Package info

github.com/waffle-commons/contracts

pkg:composer/waffle-commons/contracts

Statistics

Installs: 1 305

Dependents: 11

Suggesters: 0

Stars: 0

Open Issues: 4

0.1.0-alpha4 2026-01-05 09:40 UTC

README

PHP Version Require PHP CI codecov Latest Stable Version Latest Unstable Version Total Downloads Packagist License

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.