Moving Laravel from Dev to Production
I love this site. I've learned a lot of tricks. However, the first major headache I encountered was when I tried to move my site to production and deploy with Envoyer. I was getting all kinds of errors.
I realized that all the cool ServiceProviders that Jeffrey had shown me how to use (Clockwork and IDE Helper to name a few) were still referenced in my Service Providers array. After some digging I got it working.
I am not sure if I should remove all references in my code to these things before pushing to production or if I should mask them. Currently I use the env() function to check if I am in local, if so, I run my Clockwork command.
Having said that, @JeffreyWay I would love to suggest a video in the future that goes over moving a site from local to production and making sure your composer require-dev dependencies aren't active in your production code.
(I moved my IDE and Clockwork Service Provider loading to the App Service Provider to only load in local environment...in Laravel 5).
Please or to participate in this conversation.