Download the PHP package barth/dev-pack without Composer

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

DevPack for Symfony

This is a Flex pack to install multiple dev tools.

Why

On Symfony, we create a project rapidly using composer :

After, we just have to require some pack dependencies, and thanks to flex, all is configured.

But, for some time, when I start a new project, I add dev-dependencies to improve code quality and keep it in the long run, so I grouped them in this pack with pre-configured files.

It allows me to have clean codes rules to share with project team, and avoid useless discussion in Code Reviews.

When using tabs instead space

Installation and usage

For the following, I assume you just freshly created a new Symfony Project.

Require the pack as dev dependency

You now have my list of dev tools, with preconfigured files. Don't hesitate to alterate with your settings or feel free to fork this repo to have your own list and settings.

Cleaning / Unpack

Because it's a symfony-pack, you may want to unpack it to keep only required dependencies and no more barth/dev-pack in your composer.json.

:warning: I don't recommand to require this pack direclty with the --unpack flex option. If you do this, you won't have the preconfigured files.

To do this properly, unpack it after install:

Then, you can also remove endroid/installer which provides a composer plugin to copy file from my pack.

List of installed packages

PHP CodeSniffer

This is the most well-known tool in the PHP community, configured with PSR2 ruleset.

PHPMD - Mess Detector

This tool focuses on the form of the code. Here are the different rules it enforces:

PHPStan - Static Analysis Tool

This tool prevents potential bugs before even executing the code. You can see list of its features and even test it online

PHPCPD - Copy / Paste Detector

Very useful to refactor code and avoid having identical pieces of code in several places of a project.

PHP-CS-Fixer

Similar to PHP CodeSniffer, it offers in my opinion a simpler configuration, and fixes errors in a command line.

GrumPHP

Allows to orchestrate all these tools on the precommit hook.

Contribute

First of all, thank you for contributing :heart:

Keep in mind that if you add tools, I certainly accept only if fits with my own needs. Don't hesitate to fork this project to fit with your organization needs.

License

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


All versions of dev-pack with dependencies

PHP Build Version
Package Version
Requires endroid/installer Version ^1.0
friendsofphp/php-cs-fixer Version ^2.13
j13k/yaml-lint Version ^1.1
jakub-onderka/php-parallel-lint Version ^1.0
phpmd/phpmd Version ^2.6
phpro/grumphp Version ^0.14.2
phpstan/phpstan-symfony Version ^0.10.1
sclable/xml-lint Version ^0.2.4
sebastian/phpcpd Version ^4.0
seld/jsonlint Version ^1.7
sensiolabs/security-checker Version ^5.0 || ^6.0
squizlabs/php_codesniffer Version ^3.3
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 barth/dev-pack contains the following files

Loading the files please wait ....