Reputation: 13
I have to install phpoffice/phpspreadsheet without composer since we are on shared hosting and composer does not seem to be installed there.
I tried the following:
code:
[
'aliases' => [
'@vendor' => '@vendor/phpoffice/phpspreadsheet',
],
]
Also, I'm assuming that Yii does not come with a vendor alias by default, so I guess I'd need to do something like Yii::setAlias("@vendor", Yii::$app->basePath."/vendor");
somewhere.
Am I going the right way with this?
Upvotes: 0
Views: 4128
Reputation: 51
I had same problem. I downloaded Library from github and
the File is in this link https://github.com/YoloZoloo/PhpSpreadSheet/tree/master
You can change the folder name to any folder you like. Load [AnyFolder]->table.php from your server and press 「ダウンロード」.
Upvotes: 2