babeuloula / assets-minify
Minify assets from Asset Mapper component
Installs: 39
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Shell
Requires
- php: >=8.1
- matthiasmullie/minify: ^1.3
- symfony/config: ^6.0|^7.0
- symfony/console: ^6.0|^7.0
- symfony/dependency-injection: ^6.0|^7.0
- symfony/finder: ^6.0|^7.0
- symfony/http-kernel: ^6.0|^7.0
Requires (Dev)
- babeuloula/phpcs: ^1.5
- phpstan/phpstan: ^1.12
- phpstan/phpstan-deprecation-rules: ^1.2
- phpstan/phpstan-strict-rules: ^1.6
- phpstan/phpstan-symfony: ^1.4
README
Installation
Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require babeuloula/assets-minify
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php
file of your project:
// config/bundles.php return [ // ... BaBeuloula\AssetsMinify\AssetsMinifyBundle::class => ['all' => true], ];
Contributing
Build and install dependencies
You can use the existing docker stack with the command make install
to build the Dockerfile and install the composer
dependencies.
If you want to execute some commands through Docker, just use docker/exec your_command
.
Run testing stack
# Run all tests make check # Execute PHPCS make lint # Execute PHPCS fixer make fixer # Execute PHPStan make analyse