The Puli Repository Component
Latest release: 1.0.0-beta4
PHP >= 5.3.9
The Puli Repository Component provides an API for storing arbitrary resources in a filesystem-like repository:
use Puli\Repository\InMemoryRepository; use Puli\Repository\Resource\DirectoryResource; $repo = new InMemoryRepository(); $repo->add('/config', new DirectoryResource('/path/to/resources/config')); // /path/to/resources/config/routing.yml echo $repo->get('/config/routing.yml')->getBody();
ResourceRepository implementations are currently supported:
Resource implementations are currently supported:
Read Puli at a Glance to learn more about Puli.
Follow the Getting Started guide to install Puli in your project.
Read the Puli Documentation to learn more about Puli.
Contributions to Puli are always welcome!
- Report any bugs or issues you find on the issue tracker.
- You can grab the source code at Puli’s Git repository.
All contents of this package are licensed under the MIT license.