Download the PHP package cierrateam/cierra-qa without Composer

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

About Cierra QA

Cierra QA (quality assurance) is a simple package that includes code quality tools in your project.
QA-Tools that will be integrated into your project:

Furthermore, it will create a GitHub workflow file to your project under .github/workflows that runs QA tools on pull requests.

Installation

First, you may use Composer to install Cierra QA to your project:

To copy the QA files to your project, you have to run the following command:

This command will create a .qa folder into your root project with configuration files for PHP_CodeSniffer and Larastan.
It will also create a code-quality.yml file into .github/workflows directory and a Makefile into the root of your project.

❗️ Make sure to save your old Makefile if there exists one.

Configuration

You can update the configuration/rules files in the .qa for your project so that it has your standards.
❗ Please update the php-version in the code-quality.yml with the version you use for your project so that the QA-tools will use the correct PHP version on pull-request.

By default, the QA tools use the /app directory for analyzing. You can change the default path in the Makefile under PHP_FILES.
The default phpstan level is 5. You can update it also in the Makefile under PHPSTAN_LEVEL.

Usage

After installing and configuring the QA tools at your convenience, you can use PHP_CodeSniffer and Larastan very quickly with the Makefile shortcut.

❗ You can change the path that you want to analyze and the phpstan level in the Makefile under PHP_FILES and PHPSTAN_LEVEL or provide the path directly with the make command: make phpstan LEVEL=3 FILES="foo/bar/baz.php foo/bar/foo.php"

If you don't want to analyze the whole project files under app you can also check only the changed files.
Run git add . and then make phpcs-quick or make phpstan-quick.

PHPSTORM

Under .dev/ide/phpstorm/settings is a code styling file stored which can be imported to your PHPStorm ide under Preferences --> Editor --> Code Style.


All versions of cierra-qa with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
nunomaduro/larastan Version ^0.6.12
slevomat/coding-standard Version ^6.4.1
squizlabs/php_codesniffer Version ^3.5.8
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 cierrateam/cierra-qa contains the following files

Loading the files please wait ....