Download the PHP package edmondscommerce/phpqa without Composer

On this page you can find all versions of the php package edmondscommerce/phpqa. 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 phpqa

PHPQA

By Edmonds Commerce

Version 4 Updates

Brings in PHPStan 0.12 which is great

However you will need to do the following:

Remove PHPStan symlinks before upgrading

Ensuring Correct PHPStan Configs

If you are overriding phpstan.neon in your qaConfig folder, then you need to make sure you have this in there:

Version 3 Updates

You should update your phpunit.xml file to use printerClass="\PHPUnit\Util\TestDox\CliTestDoxPrinter"

see ./phpunit.xml

Introduction

PHPQA is a quality assurance pipeline written in BASH that can be run both on the desktop as part of your development process and then also as part of a continuous integration (CI) pipeline.

It runs tools in a logical order and will fail as quickly as possible.

PHPQA has only been tested on Linux.

Codacy Badge Build Status Code Coverage

Installing

You can follow dev-master which should generally be pretty stable (all features are developed in feature branches and must pass CI before making it into master. Alternatively if you want real stability, you can track a release version of your choice.

Your project's composer.json needs to specify a bin folder. If it's not already present, add this:

Running

To run the full pipline, simply execute in your BASH terminal:

Usage:

By default, PHPQA will run against the entire project root.

Single Tool:

If you want to run a single tool, use the -t option. See the usage above to get the shortcuts for the tools

Specified Path:

Some of the tools allow us to restrict the scan to a specified path. To specify the path, use the -p option.

Combined

You can combine both options

Configuration

Please see the Configuration docs

The Pipeline

Please see the Pipeline docs

The QA Tools

For full details and configuration instructions for all fo the tools, please see the PHPQA Tools

Platform Detection

PHPQA comes with a set of generic tools and configs, but also has some inbuilt profiles.

Information on how this works can be found on the platform detection page

Specific platforms' docs are at:

Using for Continuous Integration (CI)

Please see the CI docs

Git Hooks

Have a look in gitHooks for git hooks that can be used in your project

The suggested way to use these is to symlink. Note that your actual git hook should not include the .bash file extension

To use the pre-commit hook, for example, you would do:

Then ensure the hook is executable by running it:

And you should then see


All versions of phpqa with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2|^8.0
phpunit/phpunit Version ^8.0|^9.0
jakub-onderka/php-console-highlighter Version ^0.3.2
edmondscommerce/php-parallel-lint Version ~1.0.1
phploc/phploc Version ^4.0|^5.0|^6.0|^7.0
phpmd/phpmd Version ^2.8
phpstan/phpstan Version ^0.12
squizlabs/php_codesniffer Version ~3
sllh/composer-versions-check Version ^2.0
phpstan/phpstan-strict-rules Version ^0.12
infection/infection Version ^0.10|^0.20
funkyproject/reflection-file Version ^0.1.0
maglnet/composer-require-checker Version ^2.0
ext-json Version *
phpstan/extension-installer Version ^1.0
friendsofphp/php-cs-fixer Version ^2.16
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 edmondscommerce/phpqa contains the following files

Loading the files please wait ....