A meta package that allows you to install yii2 without composer-asset-plugin.
laxity7/yii2-assets-free instead (or after) of
yiisoft/yii2 in your
Sometimes however, these frontend components are not needed, e.g. if you use Yii to create a Console Application, Background workers or a REST API. So if you do not want to install the composer-asset-plugin on your production servers because you
do not need any asset functionality anyway you may use this package instead of requiring
Magic in composer.json
This package claims to "provide" the required asset packages which are only available when composer-asset-plugin ist installed. In reallity no asset packages are installed, so this is only useful in cases where you do not need them.
For example, to use the Debug module just add to the config
'components' => [ 'assetManager' => [ 'bundles' => [ 'yii\web\JqueryAsset' => [ 'sourcePath' => null, 'js' => [ '//code.jquery.com/jquery-3.4.0.min.js', ] ], ], // or like this //'assetMap' => [ // 'jquery.js' => '//code.jquery.com/jquery-3.4.0.min.js', //], ], ],