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

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Caffeine for Laravel

Caffeine for Laravel Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Caffeine for Laravel!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Frameworks

Registered

2024-04-22