定制 smartbooster/standard-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

smartbooster/standard-bundle

最新稳定版本:v1.2.2

Composer 安装命令:

composer require --dev smartbooster/standard-bundle

包简介

Bundle grouping all dev vendor that we use for testing and coding with the SMART BOOSTER standards

README 文档

README

Bundle grouping all dev vendor that we use for testing and coding with the SMARTBOOSTER standards.

What's inside !

  • All the development vendors that we used daily to check our code quality.
  • Makefiles with QA and testing commands to easily run them.

Installation

# As this bundle is still in development and not added to the symfony/recipes-contrib repo, you need to manually add the recipe endpoint on your composer.json
composer config --json extra.symfony.endpoint '["https://api.github.com/repos/smartbooster/standard-bundle/contents/recipes.json", "flex://defaults"]'
# Then require the bundle into your dev requirements:
composer require --dev smartbooster/standard-bundle

When being prompted "Do you want to execute this recipe?" from the other bundle (Phpstan, Codesnif, Dama, ...) answer No and press enter.
The standard-bundle has its own recipe which will cover the bundles mentioned above (check the dotted manifest to see which files).

Don't forget to do a recipe reset to have the latest changes from the recipe copied files (see next section).

Reinstall the recipe to the latest changes

If you require an upper version or update the bundle version on your project, run the following command to execute the recipe with the latest changes

composer recipes:install smartbooster/standard-bundle --reset --force

Working on the bundle

Updating the recipe dotted manifest

If the dotted manifest has to change (for any configurator), or for a new major version of the bundle, you must create a new smartbooster.standard-bundle.{major}.{minor}.json with a distinct "ref" value.
Use the following PHP script to generate a new random "ref" value:

echo bin2hex(random_bytes(20));

Then add it to the recipes.json list.

Contributing

Pull requests are welcome.

Thanks to everyone who has contributed already.

This project is supported by SmartBooster

统计信息

  • 总下载量: 1.69k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-06