firehub / core-foundation
The essential PHP core for clean, domain-driven architecture
Fund package maintenance!
Requires
- php: ^8.5
- ext-mbstring: *
Requires (Dev)
- phpstan/phpstan: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^13.0
This package is auto-updated.
Last update: 2026-04-08 08:37:17 UTC
README
FireHub Core Foundation
The essential PHP core for building domain-driven, clean architecture applications.
Foundation provides the base classes, kernel, domain layer, and minimal runtime utilities needed to start any FireHub project.
About FireHub
FireHub is a modular PHP framework built around:
- Clean Architecture
- Domain-Driven Design (DDD)
- Explicit boundaries between Core, Adapters, and Modules
- Long-term maintainability and scalability
FireHub is designed for building enterprise-grade PHP applications without sacrificing clarity or developer experience.
Repository Purpose
FireHub Core Foundation provides the minimal, stable runtime required to build PHP applications using Clean Architecture and Domain-Driven Design principles.
It defines:
- Core domain abstractions (Entities, Value Objects, Domain Exceptions)
- Application-level contracts (use cases)
- Infrastructure contracts (repositories, cache, etc.)
- The base kernel and bootstrap lifecycle
This repository contains no framework-specific adapters, no transport logic, and no business specialization.
It is designed to be small, strict, and highly stable, forming the foundation for all higher-level FireHub editions, adapters, and capability modules.
Security
For security reporting and guidelines, please refer to our SECURITY.md file.
Community
- Be sure to review the Code of Conduct.
- Read a Contributing file to see how you can contribute to this project.
- Read our Security policy file to see how you can report a vulnerability.
- Review the project Governance model, including roles, decision-making, RFC process, and releases.
Support
For help with FireHub products, please refer to the following resources:
- General questions & discussions: GitHub Discussions
- Bug reports & issues: Support
- Documentation & guides: FireHub Docs
- Commercial support (Pro/Enterprise): contact your account manager
Authors and Contributors
Brand & Trademark
Please refer to TRADEMARK.md and BRAND.md for guidelines on FireHub branding.
License
This software is licensed under the Apache-2.0 License.
For more details, read the full license here.