Aliases package pre-release review

We plan to release another package. https://github.com/yiisoft/aliases this time.

There’s 100% test coverage, 100% MSI score so that’s pretty stable but extra pair of eyes would be great overall.

Also I’d like to know your opinion about getRoot(string $alias) method. Is it useful for you?

Great!

I’ve a question. How should we configure aliases to be used inside config file?

Previously we had main.php such as:

<?php

return [
    'aliases' => [
        '@bower' => '@vendor/bower-asset',
        '@npm'   => '@vendor/npm-asset',
        '@publicUrl' => '/public/',
    ],

Now how will the config change?

It will be similar: https://github.com/yiisoft/yii-demo/blob/master/config/params.php#L21