composer-synchronizer / composer-synchronizer
Composer plugin that synchronizes files from vendor and simplifies package installation and configuration (UNOFFICIAL).
Installs: 195
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 0
Open Issues: 3
Type:composer-plugin
Requires
- php: >= 7.1
- composer-plugin-api: ^1.1
Requires (Dev)
- composer/composer: ^1.6
- nette/tester: ^2.0
- phpstan/phpstan: ^0.9.2
- symplify/easy-coding-standard: ^4.0
- tracy/tracy: ^2.4
This package is not auto-updated.
Last update: 2024-10-27 06:13:06 UTC
README
- 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
- CakePhp framework - see synchronizers
- Nette framework - see synchronizers
- Yii framework - see synchronizers
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.