Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A filesystem-like repository for storing arbitrary resources.
PHP

README.md

The Puli Repository Component

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

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

The following ResourceRepository implementations are currently supported:

The following Resource implementations are currently supported:

Read Puli at a Glance to learn more about Puli.

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.

Something went wrong with that request. Please try again.