Pho-Framework is the foundational component of Pho Stack. It establishes the object-centered actor/graph framework that all Pho components are built upon. It is stateless, which means, it doesn't provide persistence of its objects in any way, but it is designed for such extensibility via hydrator functions.
The recommended way to install pho-framework is through composer.
composer require phonetworks/pho-framework
Please note, pho-framework works with PHP 7.2+
For more infomation on the internals of pho-lib-graph, as well as a simple user guide, please refer to the docs/ folder. You may also generate the APIs using phpdoc as described in CONTRIBUTING.md
- Is there a way to save the graph in a file or on disk? Pho-Framework has no built-in server or mechanism for saving/storing/replacing the graph. It is built purely in memory. But you can use pho-microkernel for such persistence, and more (access control lists etc.)
MIT, see LICENSE.