Prevent forms from timing out when submitting them after leaving them on-screen for a considerable amount of time. (Laravel defaults to 120 minutes, but that is configurable and could be different site-by-site.) To achieve this, we are sending a caffeine-drip (a request at regular intervals) to keep the session from timing out. This is only implemented on pages with a _token field, so all other pages will time-out as normal.
Features
- Requires Laravel 8.0 or higher
- Supports PHP 7.3 or higher
- Route Middleware Method
- Achieve as close to 100% code coverage as possible using unit tests
- Eliminate any issues identified by SensioLabs Insight and Scrutinizer
- Documentation available
Categories
FrameworksLicense
MIT LicenseFollow Caffeine for Laravel
Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud
Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Caffeine for Laravel!