承接 sci3ma/symfony-grumphp 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

sci3ma/symfony-grumphp

最新稳定版本:v3.2.2

Composer 安装命令:

composer require sci3ma/symfony-grumphp

包简介

Configured GrumPHP with bunch of tools for static code analysis Symfony Framework

README 文档

README

symfony-grumphp is configured GrumPHP with bunch of tools for static code analysis mainly based on PSRs and Symfony Coding Standards for Symfony Framework projects.

GitHub release (latest SemVer) GitHub Packagist (custom server) GitHub last commit Travis (.org) Coveralls github

Included tools

Requirements

PHP needs to be a minimum version of PHP 7.3.
Symfony Framework needs to be a minimum version of Symfony Framework 4.0 or 5.0.

Installation

To install symfony-grumphp, install Composer, execute the following command:

composer require --dev sci3ma/symfony-grumphp

and create (or update) configuration files:

./vendor/bin/symfony-grumphp install

Configuration

You can, and perhaps you should, check and customize all configured tasks in grumphp.yml file in project root folder.

GrumPHP should be enabled by default but you can also enable GrumPHP yourself:

./vendor/bin/grumphp git:init

or disable GrumPHP:

./vendor/bin/grumphp git:deinit

You can find more GrumPHP configuration here.

Test code with the database

If you need to test code that interact with the database you need to instal dama/doctrine-test-bundle:

composer require --dev dama/doctrine-test-bundle

and uncomment extension <extension class="DAMA\DoctrineTestBundle\PHPUnit\PHPUnitExtension" /> in phpunit.xml.dist.
Read more about how to Test Code that Interacts with the Database

Uninstall

If you want to uninstall this library remove configuration files first:

./vendor/bin/symfony-grumphp uninstall

then remove package:

composer remove sci3ma/symfony-grumphp

Force run

You can run tests/checks our code without commit manually:

./vendor/bin/grumphp run

统计信息

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

GitHub 信息

  • Stars: 19
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-11-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固