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
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Caffeine for Laravel!