No need for development branch switch. Ran into the same error posted by this guy here https://laracasts.com/discuss/channels/laravel/laravel-53-cant-do-php-artisan-optimize. I didn't switch to the development branch and the setup worked perfectly.