vardot / composer-optimizer
Composer plugin for removing development files.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 3
Open Issues: 0
Type:composer-plugin
Requires
- php: ^8.1
- composer-plugin-api: ^2.0
Requires (Dev)
- ext-yaml: *
- composer/composer: ^2.6
- phpunit/phpunit: ^10.5
This package is not auto-updated.
Last update: 2024-10-25 07:32:03 UTC
README
Composer Optimizer
Composer plugin for removing development files and more upcoming.
Installation
- Add repository
- Install package
- Trust/Allow the plugin
- Configure it according to documentation
Sample composer.json file
{ "name": "org/name", "repositories": { "composer-optimizer": { "type": "vcs", "url": "git@github.com:Vardot/composer-optimizer.git" } }, "require": { "vardot/composer-optimizer": "^1.0@dev" }, "config": { "vardot/composer-optimizer": { "clear": { "*" : "[docs]" } }, "allow-plugins": { "vardot/composer-optimizer": true } }, "extra": { "dev-files": { "docs": [ "LICENSE.txt", "README.txt", "CHANGELOG.txt" ] } } }
Development
$ git clone git@github.com:<your github account>/composer-optimizer.git $ cd cleaner && composer install $ git remote add upstream git@github.com:vardot/composer-optimizer.git
Notes
- Tested on PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 8.1