Libraries tagged by contract
openapi-tools/generator-schema
9801 Downloads
Schema (+ contract + error) generator
milpa/live
8074 Downloads
Render-target-agnostic live component primitives for the Milpa PHP framework: contracts, value objects, components, data sources, and the event-driven mount/handle/render lifecycle.
milpa/http
8390 Downloads
PSR-15-native routing and middleware contracts for the Milpa PHP framework.
milpa/data
5065 Downloads
Runtime-native persistence primitive for the Milpa PHP framework: a plain-entity + repository contract, with file-JSON, SQLite and MySQL document-store, and in-memory backends behind a common RepositoryInterface — zero ORM, zero migrations.
milpa/command
10089 Downloads
The Command-as-atom core: the surface-agnostic Operation value object plus the CommandProvider and SurfaceProjector contracts. One operation, N surfaces.
milpa/auth
4915 Downloads
Runtime-native identity vocabulary for the Milpa PHP framework: the typed Actor / AuthContext / AuthState / Credential primitives, the CredentialVerifier, AuthContextFactory and SessionStore contracts, and the WebAuthn ceremony types (RelyingParty, WebAuthnVerifier, assertion/registration value objects) — the trusted producer of the context policies need. Zero framework, zero ORM, fail-closed by construction.
lattice-php/core
6750 Downloads
Core contracts, discovery, evaluation, and serialization for Lattice.
event-engine/php-event-store
142146 Downloads
Event Engine PHP Event Store Contract
erikwang2013/encryption
1631 Downloads
A pluggable cryptography component library: under a unified contract it provides symmetric encryption, asymmetric encryption, hashing, and key derivation (HKDF / PBKDF2), with implementations including AES/Sodium and Chinese national algorithms SM2/SM3/SM4/ZUC. Installable via Composer.
enjin/php-blockchain-tools
36000 Downloads
Tools for handling hex numbers and decoding contract data.
digitalcz/openid-connect
28103 Downloads
PHP implementation of OpenID Connect using symfony/contracts
componenta/arrayable
7314 Downloads
Array conversion contract for Componenta packages
cleaniquecoders/laravel-billing
1807 Downloads
A gateway-agnostic subscription & invoicing engine for Laravel, with an optional Livewire + Flux billing UI. One package to maintain. Payment gateways are an extension point (a contract), not separate packages. Ships a built-in local gateway so any app has working billing on day one — ideal for demo, development, UAT, and testing.
weew/contracts
63090 Downloads
Collection of common interfaces.
waffle-commons/contracts
7054 Downloads
The central contract package for Waffle Commons. Every other waffle-commons/* component depends only on this package and its declared PSR interfaces — the perimeter that keeps components independently replaceable.