Download the PHP package eonx-com/easy-quality without Composer

On this page you can find all versions of the php package eonx-com/easy-quality. 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 easy-quality

---eonx_docs--- title: Introduction weight: 0 ---eonx_docs---

This package is a way to centralise reusable classes used for coding standards and quality tools. It contains:


Install (separately from the project's composer.json file)

  1. Create a quality directory in your project root.
  2. Go to the quality directory and run composer require eonx-com/easy-quality.
  3. Set env variables to speed up local execution:
    • EONX_EASY_QUALITY_JOB_SIZE - number of files to process in parallel (default: 2)
    • EONX_EASY_QUALITY_MAX_NUMBER_OF_PROCESS - maximum number of parallel processes (default: 4)
    • EONX_EASY_QUALITY_TIMEOUT_SECONDS - timeout in seconds for each process (default: 120)
  4. Add quality/vendor to Git ignore (either in a .gitignore file inside the quality directory or in you project's root .gitignore file).
  5. Update your project's composer.json file by adding a post-install script (this will automate an installation of eonx-com/easy-quality on all the local machines):

  6. Update your project's composer.json file by adding the following scripts. Here we use veewee/composer-run-parallel (install it as a dev dependency) for the check-all script to run multiple commands in parallel. Feel free to modiy these commands as you wish.

  7. Make sure you have config files for ECS, Rector, PHP Mess Detector, and PHPStan in the project source code root.
  8. Run composer check-all from the project source code root to make sure everything is working and fix the found issues.
  9. If you want to use the quality tools in CI, here is an example of a GitHub action configuration:

Prepare configuration file for ECS (Easy Coding Standard) Sniffs

Create a configuration file for ECS in the quality folder of the project.

For example see quality/ecs.php.

Run ECS check

Go to the root folder of the project and run

or

Expected output:

Prepare configuration file for Rector

Create a configuration file for Rector in the quality folder of the project.

For example see quality/rector.php.

Run Rector check

Go to the root folder of the project and run

or

Expected output:


All versions of easy-quality with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2
jangregor/phpstan-prophecy Version 1.0.2
phpmd/phpmd Version 2.15.0
phpmetrics/phpmetrics Version ^2.8
phpstan/phpdoc-parser Version 1.32.0
phpstan/phpstan Version 1.12.5
rector/rector Version 1.2.5
slevomat/coding-standard Version 8.15.0
symplify/easy-coding-standard Version 12.3.5
symplify/phpstan-extensions Version 11.4.3
symplify/phpstan-rules Version 13.0.1
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 eonx-com/easy-quality contains the following files

Loading the files please wait ....