Skip to content

waffle-commons/contracts

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.

About

Contacts component for Waffle framework

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages