leroy-merlin-br/larasniffer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

leroy-merlin-br/larasniffer

最新稳定版本:1.0.2

Composer 安装命令:

composer require leroy-merlin-br/larasniffer

包简介

Larasniffer detect violations of a defined coding standard. It helps your code remains clean and consistent.

README 文档

README

Detect violations of a defined coding standard. It helps your code remains clean and consistent. Available options are: PSR2, PSR1, Zend, PEAR, Squiz, PHPCS and MySource.

Build Status Coverage Status Latest Stable Version Total Downloads License

SensioLabsInsight

php artisan sniff

Quick start

Required setup

In the require key of composer.json file add the following

"leroy-merlin-br/larasniffer": "dev-master"

Run the Composer update comand

$ composer update

In your config/app.php add 'LeroyMerlin\LaraSniffer\ServiceProvider' to the end of the $providers array

'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'LeroyMerlin\LaraSniffer\ServiceProvider',

),

Publish the configuration file:

php artisan config:publish leroy-merlin-br/larasniffer

Edit the configuration file app/config/packages/leroy-merlin-br/larasniffer/config.php to tweak the sniffer behavior.

Usage

php artisan sniff

Contributting

New contributions are always welcomed. Just open a pull request making sure that it contains tests and doc updates. Please check if the Travis-CI build is alright too.

See all contributors

License

LaraSniffer is free software distributed under the terms of the MIT license

Aditional information

Any issues, please report here

统计信息

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

GitHub 信息

  • Stars: 127
  • Watchers: 16
  • Forks: 9
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-04-11