Download the PHP package eviweb/fuelphp-phpcs without Composer

On this page you can find all versions of the php package eviweb/fuelphp-phpcs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fuelphp-phpcs

PHP_CodeSniffer Fuel PHP Standard

PHP Code Sniffer rules that cover a large part of the [Fuel PHP coding standards] (http://docs.fuelphp.com/general/coding_standards.html "Fuel PHP Coding Standards").

Build Status

How to install

The composer way (since v1.0.4)

run composer require --dev eviweb/fuelphp-phpcs:~1 in your fuelphp project.
It will automatically install PHP CodeSniffer using composer.

The old way

Install (Linux Only)

  1. clone the project git clone https://github.com/eviweb/fuelphp-phpcs.git
  2. change directory to ./fuelphp-phpcs cd fuelphp-phpcs
  3. run installer with root privileges sudo ./install.sh

Uninstall (Linux Only)

  1. change directory to ./fuelphp-phpcs cd fuelphp-phpcs
  2. run uninstaller with root privileges sudo ./uninstall.sh

How to use

Using the fuelphpcs command (since v1.0.4)

Assuming FuelPHPCS was installed inside ./fuel/vendor using composer and the bin-dir is ./fuel/vendor/bin.
Run ./fuel/vendor/bin/fuelphpcs PROJECT_TO_SNIFF_DIRECTORY where PROJECT_TO_SNIFF_DIRECTORY is your fuel php project directory.

The old way

run phpcs --standard=FuelPHP PROJECT_TO_SNIFF_DIRECTORY where PROJECT_TO_SNIFF_DIRECTORY is your fuel php project directory.

BE AWARE not to use --tab-width phpcs option with another value than 0, this would disable tabs recognition !

Requirements

Please note that this package works with PHP Code Sniffer version 2.9.x.


All versions of fuelphp-phpcs with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
squizlabs/php_codesniffer Version ~2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package eviweb/fuelphp-phpcs contains the following files

Loading the files please wait ....