pradosoft / prado

Prado - Component Framework for PHP
Other
187 stars 70 forks source link

TApplication::VendorPath and "Vendor" alias for composer directory #946

Closed belisoful closed 1 year ago

belisoful commented 1 year ago

Yii has a "VendorPath" property and "Vendor" Alias in their Application object. We should probably have that.

belisoful commented 1 year ago

Can someone else handle this? It should be simple. but it does require some custom testing.

As a model, use the Yii2::application object that has the property and generates the Alias: https://github.com/yiisoft/yii2/blob/master/framework/base/Application.php

ctrlaltca commented 1 year ago

We already have that, see PRADO_VENDORDIR and https://github.com/pradosoft/prado/blob/master/framework/Prado.php#L76

belisoful commented 1 year ago

my apologies. you are correct.