I have downloaded composer successfully and I am trying to use the phpospreadsheet library but I keep getting these errors although this is a basic code. it works on windows but not on linux. Code Sample: Errors: Answer the solution was to make a temporary directory. https://github.com/PHPOffice/PhpSpreadshee…
Tag: composer-php
How to install composer on Linux to be able to run the Laravel New command
I would like to know how to install composer with the vendor/bin folder to be able to run the laravel new project as describe in the laravel docs and not only install the composer binary for install and update packages. Answer I think you are looking for this command : install composer in /usr/bin php -r R…
Composer & Linux production server – autoload not working
I have already tried searching for this question and seen a couple of answers, but no luck… I have composer installed with Slim Framework v3. I am using autoload for my files using PSR-4 in the composer.json file like this: And this is my folder structure: I am running it on a localhost Mac OS X El-Capi…
How to Install Composer globally on Cloudlinux
I can’t seem to install Composer globally on Cloudlinux. I have managed to install packages like git etc but these are actual packages unlike composer. I made Git globally available using the cagefsctl e.g.: But this doesn’t seem to work for Composer (which makes sense). How do I do this for non p…