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

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

This package is auto-updated.

Last update: 2026-01-06 15:23:17 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.