Download the PHP package iviphp/contracts without Composer
On this page you can find all versions of the php package iviphp/contracts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download iviphp/contracts
More information about iviphp/contracts
Files in iviphp/contracts
Package contracts
Short Description Shared interfaces and contracts for the IviPHP ecosystem.
License MIT
Informations about the package contracts
Ivi Contracts
Shared interfaces and contracts for the IviPHP ecosystem.
Overview
iviphp/contracts provides the stable interfaces shared across official IviPHP packages.
The package contains only abstractions and must remain lightweight, predictable, and independent from the framework implementation.
Installation
Requirements
- PHP 8.2 or later
- Composer
Available contracts
ServiceProviderInterface
Defines the lifecycle used by Ivi service providers.
A service provider has two phases:
register()declares services and dependencies.boot()initializes features after registration is complete.
Design principles
- No framework implementation
- No external dependencies
- Small and stable public API
- Independent contracts
- Backward compatibility whenever possible
New interfaces are added only when a real shared contract is required by multiple IviPHP packages.
Ecosystem
This package is part of the IviPHP ecosystem:
iviphp/frameworkiviphp/containeriviphp/httpiviphp/databaseiviphp/validationiviphp/configiviphp/cacheiviphp/viewiviphp/admin
Contributing
Contributions should preserve the minimal scope of this package.
Before introducing a new contract, it should:
- represent a stable abstraction;
- be required by multiple packages;
- avoid depending on implementation details;
- remain usable outside the full Ivi framework.
Security
Please report security issues privately to the Softadastra maintainers instead of opening a public issue.
License
This project is licensed under the MIT License.
Maintainer
Created and maintained by Softadastra.