Setting a dynamic log path when using Laravel queues

I had a need to change the log path for a job when using Laravel queues. I created a pipeline for file processing and wanted to have the log file name as the name of the file. This would allow my to easily check to see how the file processed. As you know when using … More Setting a dynamic log path when using Laravel queues

Using HTTPS for a Laravel app behind an AWS Elastic Load Balancer

When using an AWS Elastic Load Balancer, the communication between the load balancer and your server is HTTP. Laravel will adjust the urls crated based on the protocol but since it only see’s http it can cause issues. To resolve this there is a nice Laravel package called Trusted Proxy, https://github.com/fideloper/TrustedProxy. The package allows Laravel to … More Using HTTPS for a Laravel app behind an AWS Elastic Load Balancer

Exclusive locks not supported error, when using FreeBSD in Vagrant.

This error drove me crazy for the longest time. I was using Vagrant, FreeBSD and Laravel for a project and laravel would not run because of where it stores the cache. It took awhile for me to find a good fix but it is fairly easy. In your  /etc/rc.conf file add two lines: rpc_lockd_enable=”YES” rpc_statd_enable=”YES” … More Exclusive locks not supported error, when using FreeBSD in Vagrant.