Download the PHP package iwf-web/php-coding-standard without Composer

On this page you can find all versions of the php package iwf-web/php-coding-standard. 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-coding-standard

IWF Web PHP Coding Standard

Custom PHP-CS-Fixer rule sets for consistent code style across IWF Web projects.

License Version Version (including pre-releases) Downloads on Packagist

Rule Sets

This package provides two rule sets:

Rule Set Description
@IWFWeb/standard Non-risky coding style rules for consistent formatting
@IWFWeb/standard:risky Risky rules that may change code behavior (use with caution)

Both rule sets build upon the excellent @PhpCsFixer rule set (which includes @Symfony and @PSR12) with customizations tailored for IWF Web projects.

Getting Started

Prerequisites

Installation

Usage

Create a .php-cs-fixer.dist.php file in your project root:

Run the fixer:

Rule Customizations

@IWFWeb/standard

Key customizations over the base @PhpCsFixer rule set:

@IWFWeb/standard:risky

Key customizations over the base @PhpCsFixer:risky rule set:

Migration from v1.x

In v1.x, the namespace was IWF\CodingStandard with classes IWFSet and IWFRiskySet, and rule sets @IWF/standard and @IWF/standard:risky. These still work but are deprecated and will be removed in v2.0.

To migrate, update your .php-cs-fixer.dist.php:

Contributing

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

This project uses Conventional Commits for automated releases and changelog generation.

Versioning

We use SemVer for versioning. For available versions, see the tags on this repository.

Authors

Special thanks for all the people who had helped this project so far

See also the full list of contributors who participated in this project.

I would like to join this list. How can I help the project?

We're currently looking for contributions for the following:

For more information, please refer to our CONTRIBUTING.md guide.

License

This project is licensed under the MIT License - see the LICENSE.txt file for details.

Acknowledgments

This project currently uses no third-party libraries or copied code.


All versions of php-coding-standard with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 iwf-web/php-coding-standard contains the following files

Loading the files please wait ...