PHPackages                             mydnic/laravel-allow-long-request - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. mydnic/laravel-allow-long-request

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mydnic/laravel-allow-long-request
=================================

Simple Middleware Allowing Long Requests

v2.4.0(5y ago)0566MITPHPPHP ^7.2CI failing

Since Jan 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mydnic/laravel-allow-long-request)[ Packagist](https://packagist.org/packages/mydnic/laravel-allow-long-request)[ Docs](https://github.com/mydnic/laravel-allow-long-request)[ RSS](/packages/mydnic-laravel-allow-long-request/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (4)Versions (7)Used By (0)

A Simple Middleware for Laravel Allowing Long Requests
======================================================

[](#a-simple-middleware-for-laravel-allowing-long-requests)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fc1903f11ecc984c2cf462f1b3283c5d96f4744781ae2f19cb6ce1f2475adfa3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d79646e69632f6c61726176656c2d616c6c6f772d6c6f6e672d726571756573742e737667)](https://packagist.org/packages/mydnic/laravel-allow-long-request)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![Build Status](https://camo.githubusercontent.com/3e50cb58251ff8b95e65676f403d2f7fd1b9435e80beebca45e70e00646c1eea/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f636f6d2f6d79646e69632f6c61726176656c2d616c6c6f772d6c6f6e672d726571756573742e737667)](https://travis-ci.com/mydnic/laravel-allow-long-request)[![Code Quality](https://camo.githubusercontent.com/7c58b016b69198eae18e723272b5efc4b823f0596bafcb32c338e81227792d1d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6d79646e69632f6c61726176656c2d616c6c6f772d6c6f6e672d726571756573742e737667)](https://scrutinizer-ci.com/g/mydnic/laravel-allow-long-request/)

Installation
------------

[](#installation)

You can install this package via composer using this command:

```
composer require mydnic/laravel-allow-long-request
```

The package will automatically register itself

You can publish the config-file with:

```
php artisan vendor:publish --provider="Mydnic\AllowLongRequests\AllowLongRequestsServiceProvider" --tag="config"
```

Usage
-----

[](#usage)

In your Kernel.php you can register the middleware like this:

```
protected $routeMiddleware = [
    // ...
    'allow-long-request' => \Mydnic\AllowLongRequests\Http\Middleware\AllowLongRequests::class,
]
```

Now you can apply the middleware on the route of your choice

```
Route::get('/', function () {
    // code that takes a long time to execute
})->middleware('allow-long-request');
```

You can set the max waiting time in the config file.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 59.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~123 days

Total

6

Last Release

2065d ago

Major Versions

v1.0 → v2.02019-05-29

PHP version history (2 changes)v1.0PHP ^7.1

v2.3PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/bc52c3eeee29c610da76c047b3cec562c062ebb747e5e3ef097677373269b7e4?d=identicon)[mydnic](/maintainers/mydnic)

---

Top Contributors

[![mydnic](https://avatars.githubusercontent.com/u/2733767?v=4)](https://github.com/mydnic "mydnic (35 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (24 commits)")

---

Tags

requestlaravellongallow

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mydnic-laravel-allow-long-request/health.svg)

```
[![Health](https://phpackages.com/badges/mydnic-laravel-allow-long-request/health.svg)](https://phpackages.com/packages/mydnic-laravel-allow-long-request)
```

###  Alternatives

[lomkit/laravel-rest-api

A package to build quick and robust rest api for the Laravel framework.

59152.2k](/packages/lomkit-laravel-rest-api)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)[chelout/laravel-http-logger

A Laravel package to log HTTP requests, headers and sessions

272.0k](/packages/chelout-laravel-http-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
