appventus / php-doc-fill-bundle
此包已被弃用且不再维护。未建议替换包。
帮助您填充PHP文档的包
dev-master
2013-06-25 14:51 UTC
Requires
- php: >=5.3.2
This package is not auto-updated.
Last update: 2023-07-31 08:06:33 UTC
README
PhpDocFillBundle 帮助您为所有 symfony2 项目编写文档。
安装
使用 composer 获取源代码
require "appventus/php-doc-fill-bundle": "dev-master"
在 AppKernel.php 中声明该包
public function registerBundles() {
$bundles = array(
[...]
new AppVentus\PhpDocFillBundle\AvPhpDocFillBundle(),
[...]
然后在您的应用程序中声明 routing.yml
# PhpDocFillBundle Routing
av_php_doc_fill_bundle_routes:
resource: "@AvPhpDocFillBundle/Resources/config/routing.yml"
prefix: /
然后在您的框架配置中添加 PHP 模板引擎支持
framework:
templating:
engines: ['twig', 'php']
...
现在您在 symfony2 调试栏中有一个新的操作可用。
享受吧!
致谢
此包基于由 Clement Nedelcu 创建的现有库。感谢他的工作。