Download the PHP package daniel-werner/php-quality-tools without Composer

On this page you can find all versions of the php package daniel-werner/php-quality-tools. 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 php-quality-tools

PHP Quality Tools

Latest Version on Packagist Build Status Build Status Quality Score Total Downloads

This package installs the most commonly used quality tools for php: PHP Code Sniffer, PHP Mess Detector, PHP Static Analysis Tool and PHP Coding Standards Fixer. It comes with some reasonable predefined configurations and using the PSR-2 coding style. This package can be used with Laravel applications or with any php project it is not specifically a Laravel package.

The purpose of this package is to allow php developers to quickly install and configure all the necessary quality tools for their projects.

Installation

You can install the package via composer:

After installing with composer, run the following command from the root directory of your project:

This will copy the default xml settings for the tools and to set up the scripts in the composer.json.

The install script will try to guess the source code directory in your project, if it is a Laravel application it will use the app directory, if it is a package it will use the src directory, otherwise the current directory.

You can pass the source code directory as the first argument of the install script, like this:

After the installation the xml configurations can be found in your projects root directory. You can customize the phpcs and phpmd configurations by changing the settings in the xml files.

Usage

The package defines the following scripts in the composer.json:

Testing

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

PHP Package Boilerplate

This package was generated using the PHP Package Boilerplate.


All versions of php-quality-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1|^8.0
friendsofphp/php-cs-fixer Version ^3.1
phpmd/phpmd Version ^2.10
phpstan/phpstan Version ^0.12.99
squizlabs/php_codesniffer Version ^3.6
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 daniel-werner/php-quality-tools contains the following files

Loading the files please wait ....