Download the PHP package congraph/contracts without Composer
On this page you can find all versions of the php package congraph/contracts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package contracts
congraph/contracts
congraph/contracts contains the shared PHP interfaces used across the Congraph package ecosystem.
What this package provides
- repository contracts
- command/validation contracts
- cross-package interfaces that let packages depend on abstractions instead of concrete implementations
This package has no database schema, no Laravel service provider, and no runtime behavior by itself.
When to use it
Use this package when:
- a package needs to type-hint another package's repository or service
- you are adding a new reusable abstraction to Congraph
- you want to decouple command handlers, validators, or services from implementation details
Installation
Package structure
Most interfaces live under namespaces like:
Congraph\Contracts\CoreCongraph\Contracts\EavCongraph\Contracts\FilesystemCongraph\Contracts\LocalesCongraph\Contracts\Workflows
Development
This package is intentionally small. Changes here ripple into the rest of the monorepo.
When editing contracts:
- update the interface
- verify all implementations in other packages still match
- run the dependent package test suites
Testing
This package does not currently ship its own PHPUnit suite. Validation happens through the dependent packages.
From the monorepo root:
Contribution notes
- keep interfaces minimal
- avoid framework-specific details in contracts
- prefer additive changes over breaking signature changes
- if a signature must change, update all implementing packages in the same branch
All versions of contracts with dependencies
PHP Build Version
Package Version
The package congraph/contracts contains the following files
Loading the files please wait ...