Download the PHP package maarsson/dev-tools without Composer

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

maarsson/dev-tools

Development QA toolchain bundle for my projects.

[!NOTE] See also maarsson/coding-standard.

About

This package is a Composer metapackage that installs a curated set of development and code-quality tools together with shared coding standards.

Installing this package will pull in:

By following the installation steps below, the rulesets from the installed version of maarsson/coding-standard are automatically applied after composer install and composer update in your project. This guarantees that all projects use the exact same ruleset versions.

The extra.frontend-tools setting defines the npm dependencies for ESLint including Stylistic, Stylelint, TypeScript, Vue, SCSS, and Tailwind support. The coding-standard sync script adds them to the consuming project's devDependencies and creates the eslint, eslint:fix, stylelint, and stylelint:fix scripts.


Requirements


Installation

1. Package installation

Install the package as a development dependency in your project:

These plugin permissions must be configured in the consuming project's composer.json. They are not inherited from this metapackage. The PHPCS installer registers the Slevomat standard, and the GrumPHP plugin installs Git hooks.

2. Project configuration (required)

To ensure the coding standards are applied automatically, you must configure Composer scripts in the target project.

2.1. Add a named sync script

In your project’s composer.json add:

2.2. Run the sync script on install and update

Extend your project’s composer.json scripts section to include:

With this setup, the coding standards are applied automatically.

2.3. Install the frontend tools

Composer install/update synchronizes package.json but does not install npm packages. The sync script displays a reminder when it updates package.json.

After the initial sync, and whenever a toolchain update changes the npm dependencies, install them manually in the consuming project:

Commit the resulting package.json and package-lock.json together.

In CI, run npm ci --ignore-scripts after Composer installation to install from the committed lockfile.


Usage

For more info please read the maarsson/coding-standard package's readme.


Design philosophy

This separation keeps behavior explicit, predictable, and Composer-idiomatic.


License

MIT


All versions of dev-tools with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
friendsofphp/php-cs-fixer Version ^3.95
larastan/larastan Version ^3.10
maarsson/coding-standard Version ^2.0
php-parallel-lint/php-parallel-lint Version ^1.4
phpmd/phpmd Version ^3.0
phpro/grumphp Version ^2.25
shipmonk/dead-code-detector Version ^1.4
slevomat/coding-standard Version ^8.31
squizlabs/php_codesniffer Version ^4.0
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 maarsson/dev-tools contains the following files

Loading the files please wait ...