Web Development - Training - Setting up an environment with Laravel Valet

A guide to setting up our development environment using Laravel Valet.

To make things easier for development, we are going to use Laravel Valet in order to do our local development. The majority of the guide to installing Valet is located here, but we have a few extra steps that we need to take in order to be able to use it for development here at UWM.

This assumes that you already have PHP installed via <link here>.

Step 1: Installing Laravel Valet

Run the following commands. I'll make this more instructional later.

$ composer global require laravel/valet
$ echo "export PATH=\"\$PATH:~/.composer/vendor/bin\"" >> ~/.bash_profile
$ source ~/.bash_profile
$ mkdir ~/Code
$ valet install
$ cd ~/Code
$ valet park

Step 2: Using the Workspace

All of your code should be cloned into ~/Code into a folder. Then, Valet will serve your code using the name of the folder. For example, if your code is in a folder called guestpass-web you can access it by going to http://guestpass-web.dev

Of this document's writing the following applications will work with this setup:

  • GuestPass Web
  • NHO Listing
  • Webapp
The following applications need to be converted to Laravel 5 first, to gain PHP 7 support:

  • Swiper
  • Diploma Order
These applications need to have their front end and back end combined, and should really just be rebased on top of the Webapp starter app:
  • OrgSync API
  • Exam Processing
  • ULC
Finally, this application should just be retired because it's in CodeIgnitor:
  • Micros Report Mailer

Keywords:valet,php,developer,vm,workspace,developer workspace,"laravel valet",laravel, Saits, sa its, Student Affairs IT Services   Doc ID:45224
Owner:Christopher M.Group:UW-Milwaukee Student Affairs IT
Created:2014-11-21 16:36 CDTUpdated:2018-03-22 13:55 CDT
Sites:UW-Milwaukee Student Affairs IT
Feedback:  0   0