A clean install of Laravel 5.3 is not working with Valet. I'm getting the following error:
Parse error: parse error, expecting '&'' or"variable (T_VARIABLE)"' in /Users/Oz/Apps/gestlab/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 475
But if I install a fresh copy of Laravel 5.3 on homestead and add the corresponding configuration on the hosts file everything works fine.
Yeah, it's the start of the event helper. I've tried that without any success. What I find weird though is that an install of laravel 5.2 works fine. Therefore, it leads me to believe that perhaps Valet needs tweaking in order to work with Laravel 5.3...
Just managed to solve it by reinstalling Laravel Valet. I had upgraded my version of PHP prior to testing out Laravel 5.3. I believe that the reason it worked for 5.2 based projects was because Valet stores the path to the PHP version currently in use.
Since I was using a different PHP version for Laravel 5.2 it didn't update the changes to 5.3. Therefore, by reinstalling Valet, it also pointed to the updated PHP version.