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 of bots which, when encountered will only get short sessions, and the sessions will always be stored in memory.
Check it out!