PHPackages                             firehub/core-foundation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. firehub/core-foundation

ActiveLibrary[Framework](/categories/framework)

firehub/core-foundation
=======================

The essential PHP core for clean, domain-driven architecture

v0.3.3(1mo ago)0228[1 PRs](https://github.com/The-FireHub-Project/Core-Foundation/pulls)2Apache-2.0PHPPHP ^8.5CI passing

Since Feb 23Pushed 1mo agoCompare

[ Source](https://github.com/The-FireHub-Project/Core-Foundation)[ Packagist](https://packagist.org/packages/firehub/core-foundation)[ Docs](https://the-firehub-project.github.io/Core-Foundation)[ GitHub Sponsors](https://github.com/sponsors/The-FireHub-Project)[ RSS](/packages/firehub-core-foundation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (17)Versions (10)Used By (2)

[![](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/logo/core-foundation.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/logo/core-foundation.svg)

 [ ![release](https://camo.githubusercontent.com/e97e8dfa420cfa45e178aab1540e3cc34c977c88d06082df00b449424c2053ad/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f52656c656173652d4445562d626c61636b3f7374796c653d666c6174266c6162656c436f6c6f723d333033363364266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d636949485a705a58644362336739496a41674d43417a4d7a4d754e6a557849444d344e7934774f53492b436941674943413864476c306247552b526d6c795a5768315969424a5932397550433930615852735a54344b494341674944787a64486c735a54344b494341674943416749434175593239736233496765325a706247773649434e6b4e5441774d44413766516f67494341675043397a64486c735a54344b494341674944786e50676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545449324e7934784d4459734d6a59794c6a55324d574d784d4334314c5445334c6a597a4d5377784f5334324d79307a4e6934354d7a45734d6a41754d5449744e5463754e445578597a41754e446b744d6a41754e5449744f5334324c5451794c6a51784f5330794f4334304e6930314d4334314d6d4d314c6a63784c446b754e6a63734d5441754d6a55734d6a41754e6a49734f5334794f43777a4d5334344d574d744d4334354e7977784d5334784f5330344c6a67324c4449794c6a4d334c5449774c444930597930784d4334304f5377784c6a55794f5330794d4334334e7930314c6a67314d5330794e5334314d5330784e53347a4e474d744e4334334e4330354c6a51354d5330304c6a59794c5449774c6a55324d5330304c544d784c6a4531517a49794e43347a4f5459734e5459754d5463734d5451794c6a41304e6977314c6a6b304c4445794e7934794f4459734d474d774c4441734d5445754e446b734d5449754d7a6b734d544d754f4467734d7a41754e544e6a4d5334354c4445304c6a51304c4441754d5463734d6a6b754d6a49744d79347a4e4377304d7934794e474d744d5441754f4467734e444d754d7a55744d7a59754f4459734e7a63754f4449744e5467754e546b734d544532597930784e4334314f4377794e5334314f4330794e4377314e4334774e5330794d79347a4d6977344d7934324f574d774c6a63324c444d304c4445324c4459334c6a6b734e4449754e7a4d734f4467754f44646a4d544d754d4455734d5441754d6a49354c4449344c6a4d794c4445334c6a59314c44517a4c6a67304c44497a4c6a4935597930794c6a45354c5449754e6a49744e4334344e5330314c6a59794c5463744f4334324d44466a4c5445344c6a59344c5449314c6a6b7a4f53307a4d6934794e6930314d5334314c544d7a4c6a45334c5467304c6a45774f574d744d4334334e7930794f4334794d7977334c6a51744e544d754f544d734d5455754d5451744f4441754e6a466a4c5441754f5445734d7934784e4377784c6a677a4c4445774c6a63734d6934784c4445304c6a4978597a41754e4445734e5334304c4441754e4459734d5441754f4449734d4334314c4445324c6a49794d574d774c6a41344c4445784c6a51334c5441754d5451734d6a4d734d53347a4d69777a4e43347a4e7a6c6a4d7934304d6977794e6934334e4377784f4334794f4377304f5334334d5445734e444d754d6a59734e6a45754d6a4178597930344c6a51334c5445354c6a59354c546b754d7a45744d7a59754d7a41784c5445754d6a67744e5459754e7a4978597a59754d4455744d5455754d7a59354c4445304c6a63784c5449354c6a63334f5377784f4334354e4330304e5334334e574d344c6a597a4c544d794c6a55324c5449754e4449744e6a63754e6a51744d6a41754e7a55744f5455754f446c6a4d5463754d7a49734d5455754d7a45734d7a49734d7a51754e4455734d7a67754d7977314e693433597a63754d7a59734d6a59734d6934344e6977314d7934314e6977774c4467774c6a4d35597930794c6a55784c44497a4c6a49784c544d754e7a45734e4467734e5334304d6977334d4334774e574d344c4445354c6a497a4c4449794c6a51734d6a6b754e5449784c444d354c6a55784c4451775979307a4c6a59304e43307a4c6a41784d5330324c6a55324e6930324c6a67744f4334314e5330784d5334774f574d744f5334784e6930784f43347a4e7930324c6a637a4c5451774c6a59324c4441754e7a6b744e546b754e7a5a544d6a55324c6a59784e6977794f4441754d6977794e6a63754d5441324c4449324d6934314e6a46364969382b43694167494341674943416750484268644767675932786863334d39496d4e76624739794969426b50534a4e4d54637a4c6a457a4e6977794d6934304d324d314c6a41334f4377304c6a6b354d5377354c6a67334d6977784d4334794e6a49734d5451754d7a59734d5455754e7a6c6a4d5334334e7a4d734d6934784f4463734d7934304f444d734e4334304c4455754d544d734e6934324e474d334f5334324e7a51734d5451754d6a51304c44457a4d6934334d5459734f5441754d7a67734d5445344c6a51334d6977784e7a41754d445530597930324c6a6b304e79777a4f4334344e5463744d6a6b754d6a63324c44637a4c6a49334c5459784c6a6b7a4d6977354e5334304e445a6a4c5445754e444d734d7930794c6a63334c4459744e437735597930794c6a55794f4377324c6a4d334e7930304c6a4d7a4c44457a4c6a41784f5330314c6a4d334c4445354c6a686a4f4449754f4451354c5451774c6a4d794f5377784d5463754d7a45344c5445304d4334784f4455734e7a59754f5467354c5449794d7934774d7a4e444d6a67354c6a67304f5377324d4334334f5377794d7a51754e6a4d314c4449304c6a63334e7977784e7a4d754d544d324c4449794c6a517a6569497650676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545451334c6a41304e6977794e7a4d754e6a4135646930774c6a4134517a41754e444d314c4449774e79347a4e5451734d5459754d6a6b324c4445784e5334354d6a4d734f4449754e4463784c4459354c6a4d784d324d784e5334794e5451744d5441754e7a51304c444d794c6a51794c5445344c6a51334e7977314d4334314e7a55744d6a49754e7a677a597a41754d6a45794c5451754f5459794c4441754d4441314c546b754f544d7a4c5441754e6a49744d5451754f445a6a4c5441754d6a557a4c5445754f4463314c5441754e6a49304c544d754e7a4d784c5445754d5445744e5334314e6b4d304d5334794f546b734e4455754e7a4d344c5445314c6a63324d7977784d7a51754e6a497a4c444d754f4459314c4449794e4334324e474d334c6a49344c444d7a4c6a4d354c4449304c6a59304c44597a4c6a637a4f4377304f5334334d7a45734f4459754f5452444e446b754e5455354c4449354f53347a4d5451734e4463754d7a55794c4449344e6934314d6977304e7934774e4459734d6a637a4c6a59774f586f694c7a344b49434167494477765a7a344b5043397a646d632b)](https://github.com/The-FireHub-Project/.github/blob/master/.github/SUPPORTED_VERSIONS.md)  ![version](https://camo.githubusercontent.com/81b46af7cb77547e4a7494f335c31a8eab95b457215a28831265366cdf1a6ede/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d302e322e302d6435303030303f7374796c653d666c6174266c6162656c436f6c6f723d333033363364266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d636949485a705a58644362336739496a41674d43417a4d7a4d754e6a557849444d344e7934774f53492b436941674943413864476c306247552b526d6c795a5768315969424a5932397550433930615852735a54344b494341674944787a64486c735a54344b494341674943416749434175593239736233496765325a706247773649434e6b4e5441774d44413766516f67494341675043397a64486c735a54344b494341674944786e50676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545449324e7934784d4459734d6a59794c6a55324d574d784d4334314c5445334c6a597a4d5377784f5334324d79307a4e6934354d7a45734d6a41754d5449744e5463754e445578597a41754e446b744d6a41754e5449744f5334324c5451794c6a51784f5330794f4334304e6930314d4334314d6d4d314c6a63784c446b754e6a63734d5441754d6a55734d6a41754e6a49734f5334794f43777a4d5334344d574d744d4334354e7977784d5334784f5330344c6a67324c4449794c6a4d334c5449774c444930597930784d4334304f5377784c6a55794f5330794d4334334e7930314c6a67314d5330794e5334314d5330784e53347a4e474d744e4334334e4330354c6a51354d5330304c6a59794c5449774c6a55324d5330304c544d784c6a4531517a49794e43347a4f5459734e5459754d5463734d5451794c6a41304e6977314c6a6b304c4445794e7934794f4459734d474d774c4441734d5445754e446b734d5449754d7a6b734d544d754f4467734d7a41754e544e6a4d5334354c4445304c6a51304c4441754d5463734d6a6b754d6a49744d79347a4e4377304d7934794e474d744d5441754f4467734e444d754d7a55744d7a59754f4459734e7a63754f4449744e5467754e546b734d544532597930784e4334314f4377794e5334314f4330794e4377314e4334774e5330794d79347a4d6977344d7934324f574d774c6a63324c444d304c4445324c4459334c6a6b734e4449754e7a4d734f4467754f44646a4d544d754d4455734d5441754d6a49354c4449344c6a4d794c4445334c6a59314c44517a4c6a67304c44497a4c6a4935597930794c6a45354c5449754e6a49744e4334344e5330314c6a59794c5463744f4334324d44466a4c5445344c6a59344c5449314c6a6b7a4f53307a4d6934794e6930314d5334314c544d7a4c6a45334c5467304c6a45774f574d744d4334334e7930794f4334794d7977334c6a51744e544d754f544d734d5455754d5451744f4441754e6a466a4c5441754f5445734d7934784e4377784c6a677a4c4445774c6a63734d6934784c4445304c6a4978597a41754e4445734e5334304c4441754e4459734d5441754f4449734d4334314c4445324c6a49794d574d774c6a41344c4445784c6a51334c5441754d5451734d6a4d734d53347a4d69777a4e43347a4e7a6c6a4d7934304d6977794e6934334e4377784f4334794f4377304f5334334d5445734e444d754d6a59734e6a45754d6a4178597930344c6a51334c5445354c6a59354c546b754d7a45744d7a59754d7a41784c5445754d6a67744e5459754e7a4978597a59754d4455744d5455754d7a59354c4445304c6a63784c5449354c6a63334f5377784f4334354e4330304e5334334e574d344c6a597a4c544d794c6a55324c5449754e4449744e6a63754e6a51744d6a41754e7a55744f5455754f446c6a4d5463754d7a49734d5455754d7a45734d7a49734d7a51754e4455734d7a67754d7977314e693433597a63754d7a59734d6a59734d6934344e6977314d7934314e6977774c4467774c6a4d35597930794c6a55784c44497a4c6a49784c544d754e7a45734e4467734e5334304d6977334d4334774e574d344c4445354c6a497a4c4449794c6a51734d6a6b754e5449784c444d354c6a55784c4451775979307a4c6a59304e43307a4c6a41784d5330324c6a55324e6930324c6a67744f4334314e5330784d5334774f574d744f5334784e6930784f43347a4e7930324c6a637a4c5451774c6a59324c4441754e7a6b744e546b754e7a5a544d6a55324c6a59784e6977794f4441754d6977794e6a63754d5441324c4449324d6934314e6a46364969382b43694167494341674943416750484268644767675932786863334d39496d4e76624739794969426b50534a4e4d54637a4c6a457a4e6977794d6934304d324d314c6a41334f4377304c6a6b354d5377354c6a67334d6977784d4334794e6a49734d5451754d7a59734d5455754e7a6c6a4d5334334e7a4d734d6934784f4463734d7934304f444d734e4334304c4455754d544d734e6934324e474d334f5334324e7a51734d5451754d6a51304c44457a4d6934334d5459734f5441754d7a67734d5445344c6a51334d6977784e7a41754d445530597930324c6a6b304e79777a4f4334344e5463744d6a6b754d6a63324c44637a4c6a49334c5459784c6a6b7a4d6977354e5334304e445a6a4c5445754e444d734d7930794c6a63334c4459744e437735597930794c6a55794f4377324c6a4d334e7930304c6a4d7a4c44457a4c6a41784f5330314c6a4d334c4445354c6a686a4f4449754f4451354c5451774c6a4d794f5377784d5463754d7a45344c5445304d4334784f4455734e7a59754f5467354c5449794d7934774d7a4e444d6a67354c6a67304f5377324d4334334f5377794d7a51754e6a4d314c4449304c6a63334e7977784e7a4d754d544d324c4449794c6a517a6569497650676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545451334c6a41304e6977794e7a4d754e6a4135646930774c6a4134517a41754e444d314c4449774e79347a4e5451734d5459754d6a6b324c4445784e5334354d6a4d734f4449754e4463784c4459354c6a4d784d324d784e5334794e5451744d5441754e7a51304c444d794c6a51794c5445344c6a51334e7977314d4334314e7a55744d6a49754e7a677a597a41754d6a45794c5451754f5459794c4441754d4441314c546b754f544d7a4c5441754e6a49744d5451754f445a6a4c5441754d6a557a4c5445754f4463314c5441754e6a49304c544d754e7a4d784c5445754d5445744e5334314e6b4d304d5334794f546b734e4455754e7a4d344c5445314c6a63324d7977784d7a51754e6a497a4c444d754f4459314c4449794e4334324e474d334c6a49344c444d7a4c6a4d354c4449304c6a59304c44597a4c6a637a4f4377304f5334334d7a45734f4459754f5452444e446b754e5455354c4449354f53347a4d5451734e4463754d7a55794c4449344e6934314d6977304e7934774e4459734d6a637a4c6a59774f586f694c7a344b49434167494477765a7a344b5043397a646d632b) [ ![GitHub license](https://camo.githubusercontent.com/9e5a6832b803ee595e48e241678bf7b9aac2658983c77d876d4f48d8877be0f4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4170616368652d2d322e302d6435303030302e7376673f7374796c653d666c6174266c6162656c436f6c6f723d333033363364266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d636949485a705a58644362336739496a41674d43417a4d7a4d754e6a557849444d344e7934774f53492b436941674943413864476c306247552b526d6c795a5768315969424a5932397550433930615852735a54344b494341674944787a64486c735a54344b494341674943416749434175593239736233496765325a706247773649434e6b4e5441774d44413766516f67494341675043397a64486c735a54344b494341674944786e50676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545449324e7934784d4459734d6a59794c6a55324d574d784d4334314c5445334c6a597a4d5377784f5334324d79307a4e6934354d7a45734d6a41754d5449744e5463754e445578597a41754e446b744d6a41754e5449744f5334324c5451794c6a51784f5330794f4334304e6930314d4334314d6d4d314c6a63784c446b754e6a63734d5441754d6a55734d6a41754e6a49734f5334794f43777a4d5334344d574d744d4334354e7977784d5334784f5330344c6a67324c4449794c6a4d334c5449774c444930597930784d4334304f5377784c6a55794f5330794d4334334e7930314c6a67314d5330794e5334314d5330784e53347a4e474d744e4334334e4330354c6a51354d5330304c6a59794c5449774c6a55324d5330304c544d784c6a4531517a49794e43347a4f5459734e5459754d5463734d5451794c6a41304e6977314c6a6b304c4445794e7934794f4459734d474d774c4441734d5445754e446b734d5449754d7a6b734d544d754f4467734d7a41754e544e6a4d5334354c4445304c6a51304c4441754d5463734d6a6b754d6a49744d79347a4e4377304d7934794e474d744d5441754f4467734e444d754d7a55744d7a59754f4459734e7a63754f4449744e5467754e546b734d544532597930784e4334314f4377794e5334314f4330794e4377314e4334774e5330794d79347a4d6977344d7934324f574d774c6a63324c444d304c4445324c4459334c6a6b734e4449754e7a4d734f4467754f44646a4d544d754d4455734d5441754d6a49354c4449344c6a4d794c4445334c6a59314c44517a4c6a67304c44497a4c6a4935597930794c6a45354c5449754e6a49744e4334344e5330314c6a59794c5463744f4334324d44466a4c5445344c6a59344c5449314c6a6b7a4f53307a4d6934794e6930314d5334314c544d7a4c6a45334c5467304c6a45774f574d744d4334334e7930794f4334794d7977334c6a51744e544d754f544d734d5455754d5451744f4441754e6a466a4c5441754f5445734d7934784e4377784c6a677a4c4445774c6a63734d6934784c4445304c6a4978597a41754e4445734e5334304c4441754e4459734d5441754f4449734d4334314c4445324c6a49794d574d774c6a41344c4445784c6a51334c5441754d5451734d6a4d734d53347a4d69777a4e43347a4e7a6c6a4d7934304d6977794e6934334e4377784f4334794f4377304f5334334d5445734e444d754d6a59734e6a45754d6a4178597930344c6a51334c5445354c6a59354c546b754d7a45744d7a59754d7a41784c5445754d6a67744e5459754e7a4978597a59754d4455744d5455754d7a59354c4445304c6a63784c5449354c6a63334f5377784f4334354e4330304e5334334e574d344c6a597a4c544d794c6a55324c5449754e4449744e6a63754e6a51744d6a41754e7a55744f5455754f446c6a4d5463754d7a49734d5455754d7a45734d7a49734d7a51754e4455734d7a67754d7977314e693433597a63754d7a59734d6a59734d6934344e6977314d7934314e6977774c4467774c6a4d35597930794c6a55784c44497a4c6a49784c544d754e7a45734e4467734e5334304d6977334d4334774e574d344c4445354c6a497a4c4449794c6a51734d6a6b754e5449784c444d354c6a55784c4451775979307a4c6a59304e43307a4c6a41784d5330324c6a55324e6930324c6a67744f4334314e5330784d5334774f574d744f5334784e6930784f43347a4e7930324c6a637a4c5451774c6a59324c4441754e7a6b744e546b754e7a5a544d6a55324c6a59784e6977794f4441754d6977794e6a63754d5441324c4449324d6934314e6a46364969382b43694167494341674943416750484268644767675932786863334d39496d4e76624739794969426b50534a4e4d54637a4c6a457a4e6977794d6934304d324d314c6a41334f4377304c6a6b354d5377354c6a67334d6977784d4334794e6a49734d5451754d7a59734d5455754e7a6c6a4d5334334e7a4d734d6934784f4463734d7934304f444d734e4334304c4455754d544d734e6934324e474d334f5334324e7a51734d5451754d6a51304c44457a4d6934334d5459734f5441754d7a67734d5445344c6a51334d6977784e7a41754d445530597930324c6a6b304e79777a4f4334344e5463744d6a6b754d6a63324c44637a4c6a49334c5459784c6a6b7a4d6977354e5334304e445a6a4c5445754e444d734d7930794c6a63334c4459744e437735597930794c6a55794f4377324c6a4d334e7930304c6a4d7a4c44457a4c6a41784f5330314c6a4d334c4445354c6a686a4f4449754f4451354c5451774c6a4d794f5377784d5463754d7a45344c5445304d4334784f4455734e7a59754f5467354c5449794d7934774d7a4e444d6a67354c6a67304f5377324d4334334f5377794d7a51754e6a4d314c4449304c6a63334e7977784e7a4d754d544d324c4449794c6a517a6569497650676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545451334c6a41304e6977794e7a4d754e6a4135646930774c6a4134517a41754e444d314c4449774e79347a4e5451734d5459754d6a6b324c4445784e5334354d6a4d734f4449754e4463784c4459354c6a4d784d324d784e5334794e5451744d5441754e7a51304c444d794c6a51794c5445344c6a51334e7977314d4334314e7a55744d6a49754e7a677a597a41754d6a45794c5451754f5459794c4441754d4441314c546b754f544d7a4c5441754e6a49744d5451754f445a6a4c5441754d6a557a4c5445754f4463314c5441754e6a49304c544d754e7a4d784c5445754d5445744e5334314e6b4d304d5334794f546b734e4455754e7a4d344c5445314c6a63324d7977784d7a51754e6a497a4c444d754f4459314c4449794e4334324e474d334c6a49344c444d7a4c6a4d354c4449304c6a59304c44597a4c6a637a4f4377304f5334334d7a45734f4459754f5452444e446b754e5455354c4449354f53347a4d5451734e4463754d7a55794c4449344e6934314d6977304e7934774e4459734d6a637a4c6a59774f586f694c7a344b49434167494477765a7a344b5043397a646d632b)](./LICENSE)

FireHub Core Foundation
-----------------------

[](#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.

 [ ![GitHub created at](https://camo.githubusercontent.com/fdb708c7ef0d4b9bd9117998f266289f04db408e2195f6691f165a80fb387a2d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f637265617465642d61742f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d637265617465642532306174266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation) [ ![GitHub release date](https://camo.githubusercontent.com/4cdd2d84a284e7305d12f32bf4874d77b268887a837e116931b99e0e5f4c25bc/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652d7072652f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f646973706c61795f646174653d7075626c69736865645f6174267374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d72656c6561736525323064617465266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation) [ ![GitHub last commit (branch)](https://camo.githubusercontent.com/9c05f2c6b78ad9080508e49634bee4d5b70159cbf7768cd779a142996e121054/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e2f6d61737465723f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d6c617374253230636f6d6d6974253230286272616e636829266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/commits/master/) [ ![GitHub activity (branch)](https://camo.githubusercontent.com/8e8b45c614ac78f0f7eaf62535e2780a808e928c8034faeaced3efc05dda57e8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e2f6d61737465723f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d636f6d6d69742532306163746976697479253230286272616e636829266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/commits/master/) [ ![GitHub contributors](https://camo.githubusercontent.com/4ad5a96ffe2d2f1515118b1d9cc01067fb0131061f9d29caf4949c214f983314/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d636f6e7472696275746f7273266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/graphs/contributors/) [ ![GitHub language count](https://camo.githubusercontent.com/9c5071897008be68b4be1214fe5109341ad9c6dabd98e3c37ef516a020df972e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f756e742f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d63694947686c6157646f644430694d6a527765434967646d6c6c64304a76654430694d4341744f54597749446b324d4341354e6a4169494864705a48526f505349794e4842344969426d615778735053496a4f5455355a474531496a3438634746306143426b50534a4e4d7a49774c5449304d4341344d4330304f4442734d6a51774c5449304d4341314e7941314e7930784f4451674d546730494445344d7941784f444d744e5459674e545a6162544d794d4341774c5455334c545533494445344e4330784f4451744d54677a4c5445344d7941314e6930314e6941794e4441674d6a51774c5449304d4341794e4442614969382b5043397a646d632b266c6f676f436f6c6f723d393539646135266c6162656c3d6c616e6775616765253230636f756e74266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/) [ ![GitHub top language](https://camo.githubusercontent.com/6b7e3d61551880d66d7b2901094305426434b2ee2841bc8ffddb0a0c774f717e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d63694947686c6157646f644430694d6a527765434967646d6c6c64304a76654430694d4341744f54597749446b324d4341354e6a4169494864705a48526f505349794e4842344969426d615778735053496a4f5455355a474531496a3438634746306143426b50534a4e4d7a49774c5449304d4341344d4330304f4442734d6a51774c5449304d4341314e7941314e7930784f4451674d546730494445344d7941784f444d744e5459674e545a6162544d794d4341774c5455334c545533494445344e4330784f4451744d54677a4c5445344d7941314e6930314e6941794e4441674d6a51774c5449304d4341794e4442614969382b5043397a646d632b266c6f676f436f6c6f723d393539646135266c6162656c3d746f702532306c616e6775616765266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/) [ ![GitHub repo size](https://camo.githubusercontent.com/a3bece6890eeec4f5428a14e6aabf45d1f76eb2b1902eabd9b05d8c12b19cf50/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d63694947686c6157646f644430694d6a527765434967646d6c6c64304a76654430694d4341744f54597749446b324d4341354e6a4169494864705a48526f505349794e4842344969426d615778735053496a4f5455355a474531496a3438634746306143426b50534a4e4d7a49774c5449304d4341344d4330304f4442734d6a51774c5449304d4341314e7941314e7930784f4451674d546730494445344d7941784f444d744e5459674e545a6162544d794d4341774c5455334c545533494445344e4330784f4451744d54677a4c5445344d7941314e6930314e6941794e4441674d6a51774c5449304d4341794e4442614969382b5043397a646d632b266c6f676f436f6c6f723d393539646135266c6162656c3d7265706f25323073697a65266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/) [ ![GitHub code size](https://camo.githubusercontent.com/da510787f4214929c0581702f2732bd7f0385ddefe40092e91c85d6de8680c75/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d63694947686c6157646f644430694d6a527765434967646d6c6c64304a76654430694d4341744f54597749446b324d4341354e6a4169494864705a48526f505349794e4842344969426d615778735053496a4f5455355a474531496a3438634746306143426b50534a4e4d7a49774c5449304d4341344d4330304f4442734d6a51774c5449304d4341314e7941314e7930784f4451674d546730494445344d7941784f444d744e5459674e545a6162544d794d4341774c5455334c545533494445344e4330784f4451744d54677a4c5445344d7941314e6930314e6941794e4441674d6a51774c5449304d4341794e4442614969382b5043397a646d632b266c6f676f436f6c6f723d393539646135266c6162656c3d636f646525323073697a65266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/)

[![FireHub Icon](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg) About FireHub
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-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.

[![FireHub Icon](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg) Repository Purpose
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-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.

[![FireHub Icon](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg) Security
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-security)

[![OpenSSF Scorecard](https://camo.githubusercontent.com/fc721978cb08df60d06f4f007d782340d3edb6837788ff118d3bb015ccdd55fd/68747470733a2f2f6170692e736563757269747973636f726563617264732e6465762f70726f6a656374732f6769746875622e636f6d2f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e2f6261646765)](https://img.shields.io/ossf-scorecard/github.com/The-FireHub-Project/Core-Foundation?style=flat&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjRweCIgdmlld0JveD0iMCAtOTYwIDk2MCA5NjAiIHdpZHRoPSIyNHB4IiBmaWxsPSIjOTU5ZGE1Ij48cGF0aCBkPSJNNDgwLTgwcS0xMzktMzUtMjI5LjUtMTU5LjVUMTYwLTUxNnYtMjQ0bDMyMC0xMjAgMzIwIDEyMHYyNDRxMCAxNTItOTAuNSAyNzYuNVQ0ODAtODBabTAtODRxOTctMzAgMTYyLTExOC41VDcxOC00ODBINDgwdi0zMTVsLTI0MCA5MHYyMDdxMCA3IDIgMThoMjM4djMxNloiLz48L3N2Zz4=&logoColor=959da5&label=OpenSSF%20score&labelColor=31373e)

For security reporting and guidelines, please refer to our [SECURITY.md](https://github.com/The-FireHub-Project/.github/blob/master/.github/SECURITY.md) file.

[![FireHub Icon](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg) Community
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-community)

[![GitHub watchers](https://camo.githubusercontent.com/640e7ab747da46e24ca63a78e790723b0d9a1677d655333de4134c27edb870e0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/640e7ab747da46e24ca63a78e790723b0d9a1677d655333de4134c27edb870e0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d736f6369616c)[![GitHub Repo stars](https://camo.githubusercontent.com/78e3a428426fd48324ab332b9ee012bfc08f537d6f8aeec9c14f2f46bccb20aa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/78e3a428426fd48324ab332b9ee012bfc08f537d6f8aeec9c14f2f46bccb20aa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d736f6369616c)[![GitHub forks](https://camo.githubusercontent.com/252201b9c8c9416f8ec117553923dc9d88fdb6369f7b5a6ab1504d42f903ce0b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/252201b9c8c9416f8ec117553923dc9d88fdb6369f7b5a6ab1504d42f903ce0b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d736f6369616c)

- Be sure to review the [Code of Conduct](https://github.com/The-FireHub-Project/.github/blob/master/.github/CODE_OF_CONDUCT.md).
- Read a [Contributing](https://github.com/The-FireHub-Project/.github/blob/master/.github/CONTRIBUTING.md) file to see how you can contribute to this project.
- Read our [Security policy](https://github.com/The-FireHub-Project/.github/blob/master/.github/SECURITY.md) file to see how you can report a vulnerability.
- Review the project [Governance model](https://github.com/The-FireHub-Project/.github/blob/master/.github/GOVERNANCE.md), including roles, decision-making, RFC process, and releases.

[![FireHub Icon](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg) Support
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-support)

 [ ![GitHub in-progress issues](https://camo.githubusercontent.com/5c175fcbb1c7b730f5d0df71c9cef1945f9664ec4a849fd11726603dcb136875/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e2f737461747573253341253230496e25323050726f67726573733f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d696e25323070726f6772657373253230697373756573266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/issues?q=is%3Aissue%20state%3Aopen) [ ![GitHub opened critical issues](https://camo.githubusercontent.com/b51c0735da6c022b97ebf0e0ffc0cd19433962ffab4c818238130c5927ff273f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e2f7072696f72697479253341253230437269746963616c3f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d637269746963616c253230697373756573266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22priority%3A%20Critical%22) [ ![GitHub opened issues](https://camo.githubusercontent.com/c1195ed7df727d09c1629a2e4af8e1e7814152715ffdb935aa7fe27485bbb9db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d746f74616c253230697373756573266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/issues?q=is%3Aissue%20state%3Aopen) [ ![GitHub opened pull requests](https://camo.githubusercontent.com/0f4df7495b523866d17b3f411fca95c04940fad0f323bf188ce0c4c270528c05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f5468652d466972654875622d50726f6a6563742f436f72652d466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Core-Foundation/issues?q=is%3Apr%20is%3Aopen)

For help with FireHub products, please refer to the following resources:

- **General questions &amp; discussions**: [GitHub Discussions](https://github.com/The-FireHub-Project/discussions)
- **Bug reports &amp; issues**: [Support](https://github.com/The-FireHub-Project/Core-Foundation/issues)
- **Documentation &amp; guides**: [FireHub Docs](https://the-firehub-project.github.io)
- **Commercial support** (Pro/Enterprise): contact your account manager

[![FireHub Icon](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg) Authors and Contributors
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-authors-and-contributors)

- Project authors can be found [here](https://github.com/The-FireHub-Project/Core-Foundation/blob/master/.github/AUTHORS.md).
- The full list of individual contributors can be found [here](https://github.com/The-FireHub-Project/Core-Foundation/blob/master/.github/CONTRIBUTORS.md).

[![FireHub Icon](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg) Brand &amp; Trademark
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-brand--trademark)

Please refer to [TRADEMARK.md](https://github.com/The-FireHub-Project/.github/blob/master/TRADEMARK.md) and [BRAND.md](https://github.com/The-FireHub-Project/.github/blob/master/BRAND.md) for guidelines on FireHub branding.

[![FireHub Icon](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/firehub.svg) License
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#-license)

This software is licensed under the Apache-2.0 License.

For more details, read the full license [here](./LICENSE).

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance93

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~18 days

Total

6

Last Release

36d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/56673130?v=4)[Danijel Galić](/maintainers/dieselxxx)[@dieselxxx](https://github.com/dieselxxx)

---

Top Contributors

[![danijelgalic](https://avatars.githubusercontent.com/u/87519338?v=4)](https://github.com/danijelgalic "danijelgalic (132 commits)")[![dieselxxx](https://avatars.githubusercontent.com/u/56673130?v=4)](https://github.com/dieselxxx "dieselxxx (33 commits)")

---

Tags

corefirehubfoundationframeworkphpphpframeworkcorefoundationfirehub

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/firehub-core-foundation/health.svg)

```
[![Health](https://phpackages.com/badges/firehub-core-foundation/health.svg)](https://phpackages.com/packages/firehub-core-foundation)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
