承接 ktamas77/remotecs 相关项目开发

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

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

ktamas77/remotecs

Composer 安装命令:

composer create-project ktamas77/remotecs

包简介

Remote Coding Standards Validation for PHP

README 文档

README

Convenient Coding Standards Validation for GitHub

RemoteCS is a remote Coding Standard Validator for Github repositories. Unlike regular CS Validators, it doesn't requires any changes on the client side (no IDE plugin required neither pre-commit-hook setup for GIT). No need to set up on every developer's machine, just in one central place.

Features:

  • RemoteCS is a GitHub WebHook - Activated after each commit
  • Scans the newly added and the modified files after each commit (not the entire repository) on the committed branch
  • Currently supports PHP: PHP lint for Syntax Checking and PHPCS for Coding Standards Validation
  • Sends E-mail to the committer after commits about the results (if there is any result)

Future directions:

  • Scan for ignore list file in each repository (example: /.remotecs-ignore)
  • Send coding standard validation messages as inline comments into the commit to GitHub
  • Multiple language support (Java, Ruby, Python, etc)
  • Give points to the developers based on their code cleaniness & send weekly summary / toplist
  • Web interface

Prerequisites

  • PHP
  • GIT
  • PHPCS (PEAR/PHP_CodeSniffer)
  • A webserver with sufficient rights to run all of the above
  • Credentials for Amazon Simple Email Service to receive E-mails

Quick Install

  • Copy the remotecs files to your webserver's directory or use composer to install:
composer require ktamas77/remotecs
  • Add the script's HTTP URL to Github -> Your Project -> Settings -> Service Hooks -> WebHook URLs
  • Make sure the path's are correct in the Payload.class.php file & your webserver has sufficient rights
  • Copy the config.sample.php into config.php and set up your Amazon Simple Email Service credentials to receive E-mails
  • Press Test Hook or Commit & Push files
  • If in trouble, enable debugging by $payload->debug(true); in index.php and check the debug.log file in the log directory
  • Enjoy! =)

References:

Author

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-05-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固