puli/repository

A filesystem-like repository for storing arbitrary resources.

Maintainers

πŸ‘ webmozart

Package info

github.com/puli/repository

Homepage

Issues

pkg:composer/puli/repository

Statistics

Installs: 89 361

Dependents: 45

Suggesters: 0

Stars: 441

1.0.0-beta10 2016-02-05 10:12 UTC

Requires

Requires (Dev)

Suggests

Provides

None

Conflicts

None

Replaces

None

MIT 2b3136f62c81bf1d6f0fbdbda62c199524eab65d

  • Bernhard Schussek <bschussek.woop@gmail.com>

README

πŸ‘ 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.