puli/url-generator
最新稳定版本:1.0.0-beta4
Composer 安装命令:
composer require puli/url-generator
包简介
Generates URLs for public Puli resources.
关键字:
README 文档
README
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!
- Report any bugs or issues you find on the issue tracker.
- You can grab the source code at Puli’s Git repository.
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.
统计信息
- 总下载量: 68.41k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 26
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2015-05-05