PHPackages                             the-firehub-project/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. the-firehub-project/foundation

ActiveLibrary

the-firehub-project/foundation
==============================

A high-level foundation layer of the FireHub ecosystem, built on top of Runtime to provide expressive and developer-friendly APIs for common programming tasks.

00[1 issues](https://github.com/The-FireHub-Project/Foundation/issues)[1 PRs](https://github.com/The-FireHub-Project/Foundation/pulls)CI passing

Since Jul 28Pushed todayCompare

[ Source](https://github.com/The-FireHub-Project/Foundation)[ Packagist](https://packagist.org/packages/the-firehub-project/foundation)[ RSS](/packages/the-firehub-project-foundation/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

 [![FireHub Core Icon](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/core.svg)](https://raw.githubusercontent.com/The-FireHub-Project/the-firehub-project.github.io/master/resources/graphics/icons/core.svg) FireHub Foundation
 [ ![release](https://camo.githubusercontent.com/97b2a710d62baf2a56aa000d2fc87f5a5dc8b53c9a6e8f5952a8c7654d3d298f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f52656c656173652d4445562d77686974653f7374796c653d666c6174266c6162656c436f6c6f723d333033363364266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d636949485a705a58644362336739496a41674d43417a4d7a4d754e6a557849444d344e7934774f53492b436941674943413864476c306247552b526d6c795a5768315969424a5932397550433930615852735a54344b494341674944787a64486c735a54344b494341674943416749434175593239736233496765325a706247773649434e6b4e5441774d44413766516f67494341675043397a64486c735a54344b494341674944786e50676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545449324e7934784d4459734d6a59794c6a55324d574d784d4334314c5445334c6a597a4d5377784f5334324d79307a4e6934354d7a45734d6a41754d5449744e5463754e445578597a41754e446b744d6a41754e5449744f5334324c5451794c6a51784f5330794f4334304e6930314d4334314d6d4d314c6a63784c446b754e6a63734d5441754d6a55734d6a41754e6a49734f5334794f43777a4d5334344d574d744d4334354e7977784d5334784f5330344c6a67324c4449794c6a4d334c5449774c444930597930784d4334304f5377784c6a55794f5330794d4334334e7930314c6a67314d5330794e5334314d5330784e53347a4e474d744e4334334e4330354c6a51354d5330304c6a59794c5449774c6a55324d5330304c544d784c6a4531517a49794e43347a4f5459734e5459754d5463734d5451794c6a41304e6977314c6a6b304c4445794e7934794f4459734d474d774c4441734d5445754e446b734d5449754d7a6b734d544d754f4467734d7a41754e544e6a4d5334354c4445304c6a51304c4441754d5463734d6a6b754d6a49744d79347a4e4377304d7934794e474d744d5441754f4467734e444d754d7a55744d7a59754f4459734e7a63754f4449744e5467754e546b734d544532597930784e4334314f4377794e5334314f4330794e4377314e4334774e5330794d79347a4d6977344d7934324f574d774c6a63324c444d304c4445324c4459334c6a6b734e4449754e7a4d734f4467754f44646a4d544d754d4455734d5441754d6a49354c4449344c6a4d794c4445334c6a59314c44517a4c6a67304c44497a4c6a4935597930794c6a45354c5449754e6a49744e4334344e5330314c6a59794c5463744f4334324d44466a4c5445344c6a59344c5449314c6a6b7a4f53307a4d6934794e6930314d5334314c544d7a4c6a45334c5467304c6a45774f574d744d4334334e7930794f4334794d7977334c6a51744e544d754f544d734d5455754d5451744f4441754e6a466a4c5441754f5445734d7934784e4377784c6a677a4c4445774c6a63734d6934784c4445304c6a4978597a41754e4445734e5334304c4441754e4459734d5441754f4449734d4334314c4445324c6a49794d574d774c6a41344c4445784c6a51334c5441754d5451734d6a4d734d53347a4d69777a4e43347a4e7a6c6a4d7934304d6977794e6934334e4377784f4334794f4377304f5334334d5445734e444d754d6a59734e6a45754d6a4178597930344c6a51334c5445354c6a59354c546b754d7a45744d7a59754d7a41784c5445754d6a67744e5459754e7a4978597a59754d4455744d5455754d7a59354c4445304c6a63784c5449354c6a63334f5377784f4334354e4330304e5334334e574d344c6a597a4c544d794c6a55324c5449754e4449744e6a63754e6a51744d6a41754e7a55744f5455754f446c6a4d5463754d7a49734d5455754d7a45734d7a49734d7a51754e4455734d7a67754d7977314e693433597a63754d7a59734d6a59734d6934344e6977314d7934314e6977774c4467774c6a4d35597930794c6a55784c44497a4c6a49784c544d754e7a45734e4467734e5334304d6977334d4334774e574d344c4445354c6a497a4c4449794c6a51734d6a6b754e5449784c444d354c6a55784c4451775979307a4c6a59304e43307a4c6a41784d5330324c6a55324e6930324c6a67744f4334314e5330784d5334774f574d744f5334784e6930784f43347a4e7930324c6a637a4c5451774c6a59324c4441754e7a6b744e546b754e7a5a544d6a55324c6a59784e6977794f4441754d6977794e6a63754d5441324c4449324d6934314e6a46364969382b43694167494341674943416750484268644767675932786863334d39496d4e76624739794969426b50534a4e4d54637a4c6a457a4e6977794d6934304d324d314c6a41334f4377304c6a6b354d5377354c6a67334d6977784d4334794e6a49734d5451754d7a59734d5455754e7a6c6a4d5334334e7a4d734d6934784f4463734d7934304f444d734e4334304c4455754d544d734e6934324e474d334f5334324e7a51734d5451754d6a51304c44457a4d6934334d5459734f5441754d7a67734d5445344c6a51334d6977784e7a41754d445530597930324c6a6b304e79777a4f4334344e5463744d6a6b754d6a63324c44637a4c6a49334c5459784c6a6b7a4d6977354e5334304e445a6a4c5445754e444d734d7930794c6a63334c4459744e437735597930794c6a55794f4377324c6a4d334e7930304c6a4d7a4c44457a4c6a41784f5330314c6a4d334c4445354c6a686a4f4449754f4451354c5451774c6a4d794f5377784d5463754d7a45344c5445304d4334784f4455734e7a59754f5467354c5449794d7934774d7a4e444d6a67354c6a67304f5377324d4334334f5377794d7a51754e6a4d314c4449304c6a63334e7977784e7a4d754d544d324c4449794c6a517a6569497650676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545451334c6a41304e6977794e7a4d754e6a4135646930774c6a4134517a41754e444d314c4449774e79347a4e5451734d5459754d6a6b324c4445784e5334354d6a4d734f4449754e4463784c4459354c6a4d784d324d784e5334794e5451744d5441754e7a51304c444d794c6a51794c5445344c6a51334e7977314d4334314e7a55744d6a49754e7a677a597a41754d6a45794c5451754f5459794c4441754d4441314c546b754f544d7a4c5441754e6a49744d5451754f445a6a4c5441754d6a557a4c5445754f4463314c5441754e6a49304c544d754e7a4d784c5445754d5445744e5334314e6b4d304d5334794f546b734e4455754e7a4d344c5445314c6a63324d7977784d7a51754e6a497a4c444d754f4459314c4449794e4334324e474d334c6a49344c444d7a4c6a4d354c4449304c6a59304c44597a4c6a637a4f4377304f5334334d7a45734f4459754f5452444e446b754e5455354c4449354f53347a4d5451734e4463754d7a55794c4449344e6934314d6977304e7934774e4459734d6a637a4c6a59774f586f694c7a344b49434167494477765a7a344b5043397a646d632b)](https://github.com/The-FireHub-Project/.github/blob/master/.github/SUPPORTED_VERSIONS.md) [ ![version](https://camo.githubusercontent.com/c32310d824780fa362806db488ad7afc1375b673b9ca223dec2bba573b387ab5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d302e302e302d6435303030303f7374796c653d666c6174266c6162656c436f6c6f723d333033363364266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d636949485a705a58644362336739496a41674d43417a4d7a4d754e6a557849444d344e7934774f53492b436941674943413864476c306247552b526d6c795a5768315969424a5932397550433930615852735a54344b494341674944787a64486c735a54344b494341674943416749434175593239736233496765325a706247773649434e6b4e5441774d44413766516f67494341675043397a64486c735a54344b494341674944786e50676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545449324e7934784d4459734d6a59794c6a55324d574d784d4334314c5445334c6a597a4d5377784f5334324d79307a4e6934354d7a45734d6a41754d5449744e5463754e445578597a41754e446b744d6a41754e5449744f5334324c5451794c6a51784f5330794f4334304e6930314d4334314d6d4d314c6a63784c446b754e6a63734d5441754d6a55734d6a41754e6a49734f5334794f43777a4d5334344d574d744d4334354e7977784d5334784f5330344c6a67324c4449794c6a4d334c5449774c444930597930784d4334304f5377784c6a55794f5330794d4334334e7930314c6a67314d5330794e5334314d5330784e53347a4e474d744e4334334e4330354c6a51354d5330304c6a59794c5449774c6a55324d5330304c544d784c6a4531517a49794e43347a4f5459734e5459754d5463734d5451794c6a41304e6977314c6a6b304c4445794e7934794f4459734d474d774c4441734d5445754e446b734d5449754d7a6b734d544d754f4467734d7a41754e544e6a4d5334354c4445304c6a51304c4441754d5463734d6a6b754d6a49744d79347a4e4377304d7934794e474d744d5441754f4467734e444d754d7a55744d7a59754f4459734e7a63754f4449744e5467754e546b734d544532597930784e4334314f4377794e5334314f4330794e4377314e4334774e5330794d79347a4d6977344d7934324f574d774c6a63324c444d304c4445324c4459334c6a6b734e4449754e7a4d734f4467754f44646a4d544d754d4455734d5441754d6a49354c4449344c6a4d794c4445334c6a59314c44517a4c6a67304c44497a4c6a4935597930794c6a45354c5449754e6a49744e4334344e5330314c6a59794c5463744f4334324d44466a4c5445344c6a59344c5449314c6a6b7a4f53307a4d6934794e6930314d5334314c544d7a4c6a45334c5467304c6a45774f574d744d4334334e7930794f4334794d7977334c6a51744e544d754f544d734d5455754d5451744f4441754e6a466a4c5441754f5445734d7934784e4377784c6a677a4c4445774c6a63734d6934784c4445304c6a4978597a41754e4445734e5334304c4441754e4459734d5441754f4449734d4334314c4445324c6a49794d574d774c6a41344c4445784c6a51334c5441754d5451734d6a4d734d53347a4d69777a4e43347a4e7a6c6a4d7934304d6977794e6934334e4377784f4334794f4377304f5334334d5445734e444d754d6a59734e6a45754d6a4178597930344c6a51334c5445354c6a59354c546b754d7a45744d7a59754d7a41784c5445754d6a67744e5459754e7a4978597a59754d4455744d5455754d7a59354c4445304c6a63784c5449354c6a63334f5377784f4334354e4330304e5334334e574d344c6a597a4c544d794c6a55324c5449754e4449744e6a63754e6a51744d6a41754e7a55744f5455754f446c6a4d5463754d7a49734d5455754d7a45734d7a49734d7a51754e4455734d7a67754d7977314e693433597a63754d7a59734d6a59734d6934344e6977314d7934314e6977774c4467774c6a4d35597930794c6a55784c44497a4c6a49784c544d754e7a45734e4467734e5334304d6977334d4334774e574d344c4445354c6a497a4c4449794c6a51734d6a6b754e5449784c444d354c6a55784c4451775979307a4c6a59304e43307a4c6a41784d5330324c6a55324e6930324c6a67744f4334314e5330784d5334774f574d744f5334784e6930784f43347a4e7930324c6a637a4c5451774c6a59324c4441754e7a6b744e546b754e7a5a544d6a55324c6a59784e6977794f4441754d6977794e6a63754d5441324c4449324d6934314e6a46364969382b43694167494341674943416750484268644767675932786863334d39496d4e76624739794969426b50534a4e4d54637a4c6a457a4e6977794d6934304d324d314c6a41334f4377304c6a6b354d5377354c6a67334d6977784d4334794e6a49734d5451754d7a59734d5455754e7a6c6a4d5334334e7a4d734d6934784f4463734d7934304f444d734e4334304c4455754d544d734e6934324e474d334f5334324e7a51734d5451754d6a51304c44457a4d6934334d5459734f5441754d7a67734d5445344c6a51334d6977784e7a41754d445530597930324c6a6b304e79777a4f4334344e5463744d6a6b754d6a63324c44637a4c6a49334c5459784c6a6b7a4d6977354e5334304e445a6a4c5445754e444d734d7930794c6a63334c4459744e437735597930794c6a55794f4377324c6a4d334e7930304c6a4d7a4c44457a4c6a41784f5330314c6a4d334c4445354c6a686a4f4449754f4451354c5451774c6a4d794f5377784d5463754d7a45344c5445304d4334784f4455734e7a59754f5467354c5449794d7934774d7a4e444d6a67354c6a67304f5377324d4334334f5377794d7a51754e6a4d314c4449304c6a63334e7977784e7a4d754d544d324c4449794c6a517a6569497650676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545451334c6a41304e6977794e7a4d754e6a4135646930774c6a4134517a41754e444d314c4449774e79347a4e5451734d5459754d6a6b324c4445784e5334354d6a4d734f4449754e4463784c4459354c6a4d784d324d784e5334794e5451744d5441754e7a51304c444d794c6a51794c5445344c6a51334e7977314d4334314e7a55744d6a49754e7a677a597a41754d6a45794c5451754f5459794c4441754d4441314c546b754f544d7a4c5441754e6a49744d5451754f445a6a4c5441754d6a557a4c5445754f4463314c5441754e6a49304c544d754e7a4d784c5445754d5445744e5334314e6b4d304d5334794f546b734e4455754e7a4d344c5445314c6a63324d7977784d7a51754e6a497a4c444d754f4459314c4449794e4334324e474d334c6a49344c444d7a4c6a4d354c4449304c6a59304c44597a4c6a637a4f4377304f5334334d7a45734f4459754f5452444e446b754e5455354c4449354f53347a4d5451734e4463754d7a55794c4449344e6934314d6977304e7934774e4459734d6a637a4c6a59774f586f694c7a344b49434167494477765a7a344b5043397a646d632b)](#) [ ![GitHub license](https://camo.githubusercontent.com/9e5a6832b803ee595e48e241678bf7b9aac2658983c77d876d4f48d8877be0f4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4170616368652d2d322e302d6435303030302e7376673f7374796c653d666c6174266c6162656c436f6c6f723d333033363364266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d636949485a705a58644362336739496a41674d43417a4d7a4d754e6a557849444d344e7934774f53492b436941674943413864476c306247552b526d6c795a5768315969424a5932397550433930615852735a54344b494341674944787a64486c735a54344b494341674943416749434175593239736233496765325a706247773649434e6b4e5441774d44413766516f67494341675043397a64486c735a54344b494341674944786e50676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545449324e7934784d4459734d6a59794c6a55324d574d784d4334314c5445334c6a597a4d5377784f5334324d79307a4e6934354d7a45734d6a41754d5449744e5463754e445578597a41754e446b744d6a41754e5449744f5334324c5451794c6a51784f5330794f4334304e6930314d4334314d6d4d314c6a63784c446b754e6a63734d5441754d6a55734d6a41754e6a49734f5334794f43777a4d5334344d574d744d4334354e7977784d5334784f5330344c6a67324c4449794c6a4d334c5449774c444930597930784d4334304f5377784c6a55794f5330794d4334334e7930314c6a67314d5330794e5334314d5330784e53347a4e474d744e4334334e4330354c6a51354d5330304c6a59794c5449774c6a55324d5330304c544d784c6a4531517a49794e43347a4f5459734e5459754d5463734d5451794c6a41304e6977314c6a6b304c4445794e7934794f4459734d474d774c4441734d5445754e446b734d5449754d7a6b734d544d754f4467734d7a41754e544e6a4d5334354c4445304c6a51304c4441754d5463734d6a6b754d6a49744d79347a4e4377304d7934794e474d744d5441754f4467734e444d754d7a55744d7a59754f4459734e7a63754f4449744e5467754e546b734d544532597930784e4334314f4377794e5334314f4330794e4377314e4334774e5330794d79347a4d6977344d7934324f574d774c6a63324c444d304c4445324c4459334c6a6b734e4449754e7a4d734f4467754f44646a4d544d754d4455734d5441754d6a49354c4449344c6a4d794c4445334c6a59314c44517a4c6a67304c44497a4c6a4935597930794c6a45354c5449754e6a49744e4334344e5330314c6a59794c5463744f4334324d44466a4c5445344c6a59344c5449314c6a6b7a4f53307a4d6934794e6930314d5334314c544d7a4c6a45334c5467304c6a45774f574d744d4334334e7930794f4334794d7977334c6a51744e544d754f544d734d5455754d5451744f4441754e6a466a4c5441754f5445734d7934784e4377784c6a677a4c4445774c6a63734d6934784c4445304c6a4978597a41754e4445734e5334304c4441754e4459734d5441754f4449734d4334314c4445324c6a49794d574d774c6a41344c4445784c6a51334c5441754d5451734d6a4d734d53347a4d69777a4e43347a4e7a6c6a4d7934304d6977794e6934334e4377784f4334794f4377304f5334334d5445734e444d754d6a59734e6a45754d6a4178597930344c6a51334c5445354c6a59354c546b754d7a45744d7a59754d7a41784c5445754d6a67744e5459754e7a4978597a59754d4455744d5455754d7a59354c4445304c6a63784c5449354c6a63334f5377784f4334354e4330304e5334334e574d344c6a597a4c544d794c6a55324c5449754e4449744e6a63754e6a51744d6a41754e7a55744f5455754f446c6a4d5463754d7a49734d5455754d7a45734d7a49734d7a51754e4455734d7a67754d7977314e693433597a63754d7a59734d6a59734d6934344e6977314d7934314e6977774c4467774c6a4d35597930794c6a55784c44497a4c6a49784c544d754e7a45734e4467734e5334304d6977334d4334774e574d344c4445354c6a497a4c4449794c6a51734d6a6b754e5449784c444d354c6a55784c4451775979307a4c6a59304e43307a4c6a41784d5330324c6a55324e6930324c6a67744f4334314e5330784d5334774f574d744f5334784e6930784f43347a4e7930324c6a637a4c5451774c6a59324c4441754e7a6b744e546b754e7a5a544d6a55324c6a59784e6977794f4441754d6977794e6a63754d5441324c4449324d6934314e6a46364969382b43694167494341674943416750484268644767675932786863334d39496d4e76624739794969426b50534a4e4d54637a4c6a457a4e6977794d6934304d324d314c6a41334f4377304c6a6b354d5377354c6a67334d6977784d4334794e6a49734d5451754d7a59734d5455754e7a6c6a4d5334334e7a4d734d6934784f4463734d7934304f444d734e4334304c4455754d544d734e6934324e474d334f5334324e7a51734d5451754d6a51304c44457a4d6934334d5459734f5441754d7a67734d5445344c6a51334d6977784e7a41754d445530597930324c6a6b304e79777a4f4334344e5463744d6a6b754d6a63324c44637a4c6a49334c5459784c6a6b7a4d6977354e5334304e445a6a4c5445754e444d734d7930794c6a63334c4459744e437735597930794c6a55794f4377324c6a4d334e7930304c6a4d7a4c44457a4c6a41784f5330314c6a4d334c4445354c6a686a4f4449754f4451354c5451774c6a4d794f5377784d5463754d7a45344c5445304d4334784f4455734e7a59754f5467354c5449794d7934774d7a4e444d6a67354c6a67304f5377324d4334334f5377794d7a51754e6a4d314c4449304c6a63334e7977784e7a4d754d544d324c4449794c6a517a6569497650676f674943416749434167494478775958526f49474e7359584e7a50534a6a62327876636949675a443069545451334c6a41304e6977794e7a4d754e6a4135646930774c6a4134517a41754e444d314c4449774e79347a4e5451734d5459754d6a6b324c4445784e5334354d6a4d734f4449754e4463784c4459354c6a4d784d324d784e5334794e5451744d5441754e7a51304c444d794c6a51794c5445344c6a51334e7977314d4334314e7a55744d6a49754e7a677a597a41754d6a45794c5451754f5459794c4441754d4441314c546b754f544d7a4c5441754e6a49744d5451754f445a6a4c5441754d6a557a4c5445754f4463314c5441754e6a49304c544d754e7a4d784c5445754d5445744e5334314e6b4d304d5334794f546b734e4455754e7a4d344c5445314c6a63324d7977784d7a51754e6a497a4c444d754f4459314c4449794e4334324e474d334c6a49344c444d7a4c6a4d354c4449304c6a59304c44597a4c6a637a4f4377304f5334334d7a45734f4459754f5452444e446b754e5455354c4449354f53347a4d5451734e4463754d7a55794c4449344e6934314d6977304e7934774e4459734d6a637a4c6a59774f586f694c7a344b49434167494477765a7a344b5043397a646d632b)](./LICENSE)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#----firehub-foundation--------------------)

 [ ![GitHub created at](https://camo.githubusercontent.com/01c44f647f452c83a1e0482cbccd92064b151859438422121fb0fbe3a5e60582/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f637265617465642d61742f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d637265617465642532306174266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation) [ ![GitHub last commit (branch)](https://camo.githubusercontent.com/e5a9fb0715db80760f68d30f59b439adc5ab28bfd8b2ea01ea9372aacf5dc4aa/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e2f6d61737465723f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d6c617374253230636f6d6d6974253230286272616e636829266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation/commits/master/) [ ![GitHub activity (branch)](https://camo.githubusercontent.com/476f437f2bd182f080adbb343467d93ef420f29010ffe1849ad642cd90645652/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e2f6d61737465723f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d636f6d6d69742532306163746976697479253230286272616e636829266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation/commits/master/) [ ![GitHub contributors](https://camo.githubusercontent.com/bb529716cbbc37fe0bda464b62a056f7d806dd1d18213386626dd1aab15c892d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d636f6e7472696275746f7273266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation/graphs/contributors/) [ ![GitHub language count](https://camo.githubusercontent.com/c8a19df0975e4519b10de0e0b79b9b3f6281c073a9f6f46d5e41a277f5642553/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f756e742f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d63694947686c6157646f644430694d6a527765434967646d6c6c64304a76654430694d4341744f54597749446b324d4341354e6a4169494864705a48526f505349794e4842344969426d615778735053496a4f5455355a474531496a3438634746306143426b50534a4e4d7a49774c5449304d4341344d4330304f4442734d6a51774c5449304d4341314e7941314e7930784f4451674d546730494445344d7941784f444d744e5459674e545a6162544d794d4341774c5455334c545533494445344e4330784f4451744d54677a4c5445344d7941314e6930314e6941794e4441674d6a51774c5449304d4341794e4442614969382b5043397a646d632b266c6f676f436f6c6f723d393539646135266c6162656c3d6c616e6775616765253230636f756e74266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation/) [ ![GitHub top language](https://camo.githubusercontent.com/fdd852a16d7ab5c5835b73bce9306ebcbc9fc7987f80bfff77481faa4b8d465b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d63694947686c6157646f644430694d6a527765434967646d6c6c64304a76654430694d4341744f54597749446b324d4341354e6a4169494864705a48526f505349794e4842344969426d615778735053496a4f5455355a474531496a3438634746306143426b50534a4e4d7a49774c5449304d4341344d4330304f4442734d6a51774c5449304d4341314e7941314e7930784f4451674d546730494445344d7941784f444d744e5459674e545a6162544d794d4341774c5455334c545533494445344e4330784f4451744d54677a4c5445344d7941314e6930314e6941794e4441674d6a51774c5449304d4341794e4442614969382b5043397a646d632b266c6f676f436f6c6f723d393539646135266c6162656c3d746f702532306c616e6775616765266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation/) [ ![GitHub repo size](https://camo.githubusercontent.com/39c566a771f2328f1edcba62bad63dd59a376a2f5cd0d04b2ca2746dd56771eb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d63694947686c6157646f644430694d6a527765434967646d6c6c64304a76654430694d4341744f54597749446b324d4341354e6a4169494864705a48526f505349794e4842344969426d615778735053496a4f5455355a474531496a3438634746306143426b50534a4e4d7a49774c5449304d4341344d4330304f4442734d6a51774c5449304d4341314e7941314e7930784f4451674d546730494445344d7941784f444d744e5459674e545a6162544d794d4341774c5455334c545533494445344e4330784f4451744d54677a4c5445344d7941314e6930314e6941794e4441674d6a51774c5449304d4341794e4442614969382b5043397a646d632b266c6f676f436f6c6f723d393539646135266c6162656c3d7265706f25323073697a65266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation/) [ ![GitHub code size](https://camo.githubusercontent.com/4e61744b343d4fa17dfa6acc2b7afeb74eff7006861f269e0aba01ea764250ff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d646174613a696d6167652f7376672b786d6c3b6261736536342c50484e325a79423462577875637a30696148523063446f764c336433647935334d793576636d63764d6a41774d43397a646d63694947686c6157646f644430694d6a527765434967646d6c6c64304a76654430694d4341744f54597749446b324d4341354e6a4169494864705a48526f505349794e4842344969426d615778735053496a4f5455355a474531496a3438634746306143426b50534a4e4d7a49774c5449304d4341344d4330304f4442734d6a51774c5449304d4341314e7941314e7930784f4451674d546730494445344d7941784f444d744e5459674e545a6162544d794d4341774c5455334c545533494445344e4330784f4451744d54677a4c5445344d7941314e6930314e6941794e4441674d6a51774c5449304d4341794e4442614969382b5043397a646d632b266c6f676f436f6c6f723d393539646135266c6162656c3d636f646525323073697a65266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation/)

Provides the high-level foundation layer of the FireHub ecosystem. This repository contains developer-focused APIs and reusable building blocks that simplify common programming tasks while maintaining consistency, type safety, and architectural principles across FireHub applications.

The Foundation layer is built on top of the Runtime layer and transforms low-level execution primitives into expressive object-oriented APIs. It provides commonly used components such as string manipulation, date and time handling, mathematical utilities, and other essential application-level abstractions.

This repository represents the developer-facing layer between the FireHub Runtime and application code, enabling clean, readable, and maintainable PHP development.

---

[![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 Foundation is the high-level developer API layer of the FireHub ecosystem.

Built on top of FireHub Runtime, it provides expressive, object-oriented abstractions for common programming tasks. The purpose of this layer is to expose simple, consistent, and powerful APIs while hiding low-level implementation details.

Foundation contains reusable building blocks such as:

- String manipulation APIs
- Date and time handling
- Mathematical utilities
- Common application-level abstractions
- Developer-oriented helper objects

The Foundation layer follows the FireHub architectural principles by separating responsibilities between definition, execution, and usage:

[![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)

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/0213cb3ee6c023eecb8bc0c78e0ce70a74b0f72c6e7de6f9602eb902033525c4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/0213cb3ee6c023eecb8bc0c78e0ce70a74b0f72c6e7de6f9602eb902033525c4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d736f6369616c)[![GitHub Repo stars](https://camo.githubusercontent.com/27d78c8f3a7e08a2f3de1621fc569da77ffbf8ed5ba060e4c5beb8a65cbfc1d6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/27d78c8f3a7e08a2f3de1621fc569da77ffbf8ed5ba060e4c5beb8a65cbfc1d6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d736f6369616c)[![GitHub forks](https://camo.githubusercontent.com/7b347b4631cac178e41adff6187808e936e862dd50d08dd3295af6619f173606/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d736f6369616c)](https://camo.githubusercontent.com/7b347b4631cac178e41adff6187808e936e862dd50d08dd3295af6619f173606/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d736f6369616c)

- 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/a4e17586f05e0b7a28972fe7dd34d4cb89068e098aa1fa33a536350a58358170/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d696e25323070726f6772657373253230697373756573266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation/issues?q=is%3Aissue%20state%3Aopen) [ ![GitHub total issues](https://camo.githubusercontent.com/d93d1706a62faf0d057caa2ce791547d343856fc4db93e0d7aabb3f07a37ff96/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7365617263683f71756572793d7265706f2533415468652d466972654875622d50726f6a65637425466f756e6461746f6e267374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c3d746f74616c253230697373756573266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/Foundation/issues?q=is%3Aissue) [ ![GitHub opened pull requests](https://camo.githubusercontent.com/aae9a2c5200ab97b34fe9db43d0a998872c4e9f4f061b30a7e50216b5f57caff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f5468652d466972654875622d50726f6a6563742f466f756e646174696f6e3f7374796c653d666c6174266c6f676f3d676974687562266c6f676f436f6c6f723d393539646135266c6162656c436f6c6f723d333133373365)](https://github.com/The-FireHub-Project/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/orgs/The-FireHub-Project/discussions)
- **Bug reports &amp; issues**: [Support](https://github.com/The-FireHub-Project/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/Foundation/blob/master/.github/AUTHORS.md).
- The full list of individual contributors can be found [here](https://github.com/The-FireHub-Project/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.

Architecture guidelines, design principles, and ecosystem documentation are available within the FireHub Project organization.

[![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

21

—

LowBetter than 17% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity14

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

firehubfoundationphp

### Embed Badge

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

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

PHPackages © 2026

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