silverorange / concentrate
This package provides a command-line tool to glob and minify static resources for a website using silverorange's Site package. Files are combined according to a configuration file passed on the command-line.
Installs: 10 299
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 14
Forks: 8
Open Issues: 5
Requires
- php: >=8.2
- ext-mbstring: *
- league/climate: ^3.8
- pear/console_commandline: ^1.1.10
- pear/pear-core-minimal: ^1.9.0
- symfony/yaml: ^7.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.64
- phpstan/phpstan: ^1.12
- rector/rector: ^1.2
- silverorange/php-coding-tools: ^1.4
Suggests
- ext-apcu: Allows caching resource definition YAML files between requests using APC.
- ext-memcached: Allows caching resource definition YAML files between requests using memcached.
- packagelist/yuicompressor-bin: Use YUI Compressor for minification of assets.
README
This package provides a command-line tool to bundle and minify static resources for a website using silverorange's Site package. Files are combined according to configuration files passed on the command-line.
Usage: /usr/bin/concentrate [options] <webroot> Options: -d directory, --directory=directory Optional additional directory to search for dependency data files. -C, --combine Write combined files. -m, --minify Write minified files. -l, --compile Write compiled LESS files. See http://www.lesscss.org/. -v, --verbose Sets verbosity level. Use multiples for more detail (e.g. "-vv"). -h, --help show this help message and exit --version show the program version and exit Arguments: webroot The directory to which files will be written.
Installation
composer require silverorange/concentrate