webpack encore bundle symfony 4 code example Example: install webpack encore $ composer require symfony/webpack-encore-bundle $ yarn install