A filesystem-like repository for storing arbitrary resources.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
res/schema
src
tests Merge pull request #92 from webmozart/discovery Feb 1, 2016
.composer-auth.json Updated the GitHub OAuth token Jan 12, 2016
.gitattributes
.gitignore
.styleci.yml Do not remove dots in doc block Aug 15, 2016
.travis.yml
CHANGELOG.md Merge branch '1.0.0-beta9-hotfix' into 1.0 Feb 5, 2016
LICENSE Initial import Jan 31, 2014
README.md Updated latest version to "1.0.0-beta10" Feb 5, 2016
appveyor.yml
composer.json
phpunit.xml.dist Updated phpunit.xml to enable correct code coverage Feb 23, 2014

README.md

The Puli Repository Component

Build Status Build status Scrutinizer Code Quality Latest Stable Version Total Downloads Dependency Status

Latest release: 1.0.0-beta10

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();

The following ResourceRepository implementations are currently supported:

The following Resource implementations are currently supported:

Authors

Installation

Follow the [Getting Started] guide to install Puli in your project.

Documentation

Read the Puli Documentation to learn more about Puli.

Contribute

Contributions to Puli are always welcome!

Support

If you are having problems, send a mail to bschussek@gmail.com or shout out to @webmozart on Twitter.

License

All contents of this package are licensed under the MIT license.