Download the PHP package johnnickell/fight-common without Composer
On this page you can find all versions of the php package johnnickell/fight-common. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download johnnickell/fight-common
More information about johnnickell/fight-common
Files in johnnickell/fight-common
Package fight-common
Short Description A shared PHP library for Hexagonal Architecture, CQRS, and reusable domain primitives
License MIT
Informations about the package fight-common
Fight Common
Fight Common is a PHP library for tasks like checking input, handling commands and events, and sending email. Use the parts you need. You can keep your business rules separate from the framework and services you use.
Install with Composer, PHP's package manager. You need PHP 8.5 or later.
Choose a capability
- Quick Start — Run an order example without a framework.
- Components — Find a guide for the part you need.
- Frameworks — Check support and find setup guides.
Inward architecture
The Architecture guide explains the dependency rule: Adapter → Application → Domain. Adapters connect to tools such as databases and frameworks. Application code runs use cases. The domain holds the business rules and does not depend on the other two layers.
JSend response compatibility
The framework-neutral JSend response format is unchanged. Use the typed response API; the old raw Symfony response and unsafe exception presenters have been removed. See the Validation guide for response behavior.
MCP foundation imports
If you use the Model Context Protocol (MCP), start with the
removal inventory for canonical
imports and what to do before upgrading saved PHP objects or changing container registrations. McpResponder
and McpDiagnostics stay in the root MCP namespace. The v1.5 foundation map
records the old aliases, and the aggregate namespace map
covers the separate aggregate alignment.
See execution observations for optional activity records and their limits, and durable Tasks for the separate storage, transaction and read interfaces.
Project routes
Contributing · Repository · Source · MIT License · Local tooling
Copyright © 2026 John Nickell.
All versions of fight-common with dependencies
psr/cache Version ^3.0
psr/container Version ^2.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.1
psr/http-message Version ^2.0
psr/http-server-handler Version ^1.0
psr/http-server-middleware Version ^1.0
psr/log Version ^3.0