Giter Site home page Giter Site logo

harite / phpcheckstyle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from phpcheckstyle/phpcheckstyle

0.0 3.0 0.0 2.05 MB

PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions.

Home Page: https://phpcheckstyle.github.io

License: Other

CSS 0.69% PHP 99.16% Shell 0.15%

phpcheckstyle's Introduction

PHPCheckstyle

1. Overview

PHPCheckstyle is an open-source tool that helps PHP programmers adhere to certain coding conventions. The tools checks the input PHP source code and reports any deviations from the coding convention.

The tool uses the PEAR Coding Standards as the default coding convention. But it allows you to configure it to suit your coding standards.

Please visit http://code.google.com/p/phpcheckstyle/ for more information and documentation

2. Requirements

  • PHP 5.0 or newer.
  • Web browser to view the checkstyle report (only for html view)
  • That's all.

3. Installation

Installation with Composer

Add phpcheckstyle/phpcheckstyle as a requirement to composer.json:

{
    "require": {
        "phpcheckstyle/phpcheckstyle": "dev-master"
    }
}

Update your packages with composer update or if installing from fresh, with composer install.

Manual Installation

Just unzip the distribution.

$> unzip PhpCheckstyle.zip

This will create a directory called phpcheckstyle and expand all files in it.

4. Usage

  • Change directory to the PHPCheckstyle installation directory.

    $> cd phpcheckstyle
  • Execute the run.php script providing the --src option.

    $> php run.php --src <php source directory/file>
  • Use the --help option to see more options

    $> php run.php --help

License

See LICENSE

phpcheckstyle's People

Contributors

tchule avatar jbrooksuk avatar rightshift-juantaylor avatar

Watchers

harite avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.