Skip to content
Advertisement

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 “copy(‘https://getcomposer.org/installer’, ‘composer-setup.php’);” php composer-setup.php

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 packages like Composer? Answer In order to install

Advertisement