GithubHelp home page GithubHelp logo

pavel-u / puli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from puli/issues

0.0 1.0 0.0 60 KB

Puli manages files, directories and other resources in a filesystem-like repository.

License: MIT License

puli's Introduction

Locating Files with Puli

Latest release: 1.0.0-alpha1

PHP >= 5.3.9

Puli manages files and directories in a virtual repository. Whenever you need to access these resources in your project, you can find them by their Puli path:

use Puli\Repository\ResourceRepository;

$repo = new ResourceRepository();
$repo->add('/config', '/path/to/resources/config');

// /path/to/resources/config/routing.yml
echo $repo->get('/config/routing.yml')->getContents();

This is useful when you have to hard-code paths, for example in configuration files:

# config.yml
import: /config/routing.yml

Read Puli at a Glance if you want to learn more about Puli.

Core Components

This package is a meta-package for Puli's core components:

Authors

Installation

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

Documentation

Read the Puli Documentation if you want to learn more about Puli.

Contribute

Contributions to Puli are always welcome!

Support

If you are having problems, send a mail to [email protected] or shout out to @webmozart on Twitter.

License

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

puli's People

Contributors

webmozart avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.