Tag: Laravel

My First Laravel Package – laravel-session-ignore

I’ve published my first Laravel package. It’s simple, but useful. My Laravel databases have been getting far too large, a result of 1) Long session lifetimes and 2) Sessions being created periodically by various bots and uptime monitors. This middleware solves this by allowing you to specify a list...

Multiple file uploads in Laravel with Dropzone and Laravel Media Library

There are a few examples online of using Dropzone JS with Laravel Media Library, however none of them quite worked how I’d like, and had various caveats. Below is my solution, which supports retaining original file names, generating thumbnails, file previews, repopulating forms, and deleting/adding new items when updating...