Generates URLs for public Puli resources.
PHP
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
tests
.composer-auth.json
.gitattributes
.gitignore
.styleci.yml
.travis.yml
CHANGELOG.md
LICENSE
README.md
appveyor.yml
composer.json
phpunit.xml.dist
puli.json

README.md

The Puli URL Generator Component

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

Latest release: 1.0.0-beta4

PHP >= 5.3.9

The Puli URL Generator Component provides an API for generating URLs for Puli resources:

echo $generator->generateUrl('/acme/blog/public/css/style.css');

The UrlGenerator can be created through the factory generated by the Puli CLI:

$factoryClass = PULI_FACTORY_CLASS;
$factory = new $factoryClass();

$repo = $factory->createRepository();
$discovery = $factory->createDiscovery($repo);

$generator = $factory->createUrlGenerator($discovery);

Documentation

Read the Puli Documentation to learn more about Puli.

Authors

Contribute

Contributions to are very 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.