Search the Community
Showing results for tags 'composer'.
We’re working on a new project in Laravel 5.6 and along the way plan on providing tutorials for several of the Laravel functions and guides. Even a simple Laravel install can seem daunting to someone new on the scene with Composer, Migrations, etc….but using Laravel speeds up the development process and helps you build a really clean and efficient web application. First we’re running on CentOS 7 64-bit with an Apache – PHP 7.1 and PHP-FPM enabled on the account. For setting the path really only the operating system is relevant, but pointing it out in all our tutorials as we work from SS
In the Laravel installation documentation it says: But it really doesn’t mention how to do this and assumes you’re already a system administrator on Linux When logged in a root via SSH you can run the following command to set the path above. Keep in mind we’re running on CentOS 7 64-bit so if you are on another flavor of Linux you’re $PATH could be different. export PATH="~/.config/composer/vendor/bin:$PATH" The composer and laravel command will now work globally in different directories and when switching other users.