composer-synchronizer/composer-synchronizer

Composer plugin that synchronizes files from vendor and simplifies package installation and configuration (UNOFFICIAL).


Keywords
plugin, composer, composer-synchronizer, composer-plugin, simplify, synchronizer
License
BSD-3-Clause

Documentation

Composer Synchronizer

Build Status PHPStan

  • Composer Synchronizer is a composer plugin that synchronizes files from vendor and simplifies package installation and configuration.
  • It allows you to configure any package for any framework and synchronize or configure it automatically during the package installation.

Docs

Usage - 3 steps (example with Nette framework)

  • Install the Synchronizer plugin.
composer require composer-synchronizer/composer-synchronizer
  • Add composer synchronizer configuration into your project composer.json file.
"extra": {
    "composer-synchronizer": {
        "project-type": "nette2"
    }
}
  • Install package that contains composer synchronizer configuration for nette2 or has the configuration in the Github repository.
composer require machy8/webloader
  • Composer synchronizer will create a webtemp directory, file for loading extensions files and it will copy the webloader extension file into the configuration directory.
  • To make it all works, just load the configuration file composer-synchronizer.neon in your bootstrap.php file.

Supported frameworks

Using other framework?

Is the synchronizer for your framework missing? Send a pull request. It is easy to create a custom synchronizer. Just take a look at the docs.

Note

Requests on remote configuration files are limited by Github rate limit.