leobenelli/composer-check-bundle
Composer 安装命令:
composer require leobenelli/composer-check-bundle
包简介
Symfony Bundle to check Version alignment (via Composer) with the latest Bundle versions.
README 文档
README
Symfony Bundle to check Version alignment (via Composer) with the latest Bundle versions.
It's in development, it will be ready soon.
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require leobenelli/composer-check-bundle
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php file of your project:
<?php return [ ... LeoBenelli\LBComposerCheckBundle\LBComposerCheckBundle::class => ['all' => true], ... ];
Step 3: Activate routing
Add new file "lb_composer_check.yaml" in config folder
lb_composer_check:
resource: '@LBComposerCheckBundle/Controller/'
type: annotation
After that, you can show the Composer Bundles Version by the link http:///lb_composer_check_bundle/show_pkgs (example: http://localhost:8000/lb_composer_check_bundle/show_pkgs)
Step 4: Add page link
Enabling the route on step 3, you can add the link of page in your application by the action name leobenelli_lbcomposercheck_default_showpackages Example:
<a href="{{path("leobenelli_lbcomposercheck_default_showpackages")}}" > Composer Check Bundles Version</a>
统计信息
- 总下载量: 81
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Apache-2.0
- 更新时间: 2017-04-05