PHPackages                             revolution/laravel-server-push - 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. revolution/laravel-server-push

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

revolution/laravel-server-push
==============================

Laravel Server Push Middleware

1.3.0(4y ago)28.0k1MITPHPPHP ^7.4||^8.0

Since May 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kawax/laravel-server-push)[ Packagist](https://packagist.org/packages/revolution/laravel-server-push)[ RSS](/packages/revolution-laravel-server-push/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (20)Used By (0)

Laravel Server Push Middleware
==============================

[](#laravel-server-push-middleware)

[![tests](https://github.com/kawax/laravel-server-push/actions/workflows/tests.yml/badge.svg)](https://github.com/kawax/laravel-server-push/actions/workflows/tests.yml)[![Maintainability](https://camo.githubusercontent.com/530edf9cc0be528a67fc4698eea3eece63213bbe1066c23dd5eb000f9cf75e3d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38666132336538663539306562303233616339312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/kawax/laravel-server-push/maintainability)[![Test Coverage](https://camo.githubusercontent.com/8ebd6325734e0d70f4a0131e6403925d6b824deb759fc8ee7b58d3a577bf3922/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38666132336538663539306562303233616339312f746573745f636f766572616765)](https://codeclimate.com/github/kawax/laravel-server-push/test_coverage)

Remake from

CHANGES
-------

[](#changes)

- Support only Laravel mix
- Delete global helpers
- Push only `get` request and `text/html` response
- Compatible with `config/server-push.php`

Requirements
------------

[](#requirements)

- PHP &gt;= 7.4
- Laravel &gt;= 6.0

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

[](#installation)

```
composer require revolution/laravel-server-push

```

### Publish config file (Optional)

[](#publish-config-file-optional)

```
php artisan vendor:publish --tag=server-push-config

```

### Add to web middleware group

[](#add-to-web-middleware-group)

```
protected $middlewareGroups = [
        'web' => [
            //...
            \Revolution\ServerPush\ServerPush::class,
        ],
```

Instead of global helpers
-------------------------

[](#instead-of-global-helpers)

```
use Revolution\ServerPush\LinkBuilder;

app(LinkBuilder::class)->addLink('/image/test.jpg')->addLink('/css/test.css');
```

LICENSE
-------

[](#license)

MIT
Copyright kawax

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 95% 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 ~56 days

Recently: every ~181 days

Total

19

Last Release

1522d ago

PHP version history (4 changes)1.0.0PHP &gt;=7.1.3

1.1.0PHP ^7.2||^8.0

1.2.0PHP ^7.3||^8.0

1.3.0PHP ^7.4||^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/77618633?v=4)[Revolution](/maintainers/revolution)[@Revolution](https://github.com/Revolution)

---

Top Contributors

[![kawax](https://avatars.githubusercontent.com/u/1502086?v=4)](https://github.com/kawax "kawax (38 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")[![toramanlis](https://avatars.githubusercontent.com/u/4260647?v=4)](https://github.com/toramanlis "toramanlis (1 commits)")

---

Tags

laravelhttp2server-push

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/revolution-laravel-server-push/health.svg)

```
[![Health](https://phpackages.com/badges/revolution-laravel-server-push/health.svg)](https://phpackages.com/packages/revolution-laravel-server-push)
```

###  Alternatives

[palanik/lumen-cors

Cross-origin resource sharing (CORS) middleware for Lumen micro-framework.

101237.4k](/packages/palanik-lumen-cors)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

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