scwebd
9/9/2018 - 6:22 AM

phpLaravelInstallationInstructions

PHP/Composer/Laravel Installation Instructions

*IMPORTANT: @channel, please install PHP, Composer, and Laravel before tomorrow's class.*

>> PHP installation instructions can be found in the PDF soon to follow. FYI PC users: MAMP is a good alternative to XAMPP; give it a try if you have trouble with XAMPP.

>> To install Composer, Mac users should run this command in their terminal: `curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer`

>> PC users should be able to download and run ‘Composer-Setup.exe’ here: https://getcomposer.org/doc/00-intro.md#installation-windows

>> Laravel installation instructions are available here: https://laravel.com/docs/5.5/installation



—————

If Mac users run into probs w/Laravel install:
`sudo chown -R $USER ~/.composer/`

To update Laravel ref in Mac PATH:
`echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bash_profile`

Once complete ensure your refresh the source by executing: 
`source ~/.bash_profile`