Laravel 5 Configurations in AWS Elastic Beanstalk

A good one for laravel on beanstalk. If you are experiencing composer and artisan config.


I’m working on a new project that is running an API using Laravel 5. We’re also hosting it on Amazon’s Elastic Beanstalk service, which gives us great scaling capabilities on the fly. However, since new instances of your application can be added/removed on the fly, setting your configuration requires a little more tweaking than the base install provides.

View original post 739 more words


Laravel PHPUnit Test Uses production configuration by Default

I came across an interesting problem today. I was Using laravel’s PHPUnit test framework to test a Eloquent class in my local environment. When I ran simple tests, I got that laravel eloquent find i was always returning null. Printing query log and running them was not helping.

Read More »