PHPackages                             simonstamm/laravel-pjax - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. simonstamm/laravel-pjax

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

simonstamm/laravel-pjax
=======================

PJAX for Laravel 4 with redirection-support

v0.5(12y ago)228.3k6[1 issues](https://github.com/simonstamm/laravel-pjax/issues)MITPHPPHP &gt;=5.3.0

Since Sep 8Pushed 12y ago4 watchersCompare

[ Source](https://github.com/simonstamm/laravel-pjax)[ Packagist](https://packagist.org/packages/simonstamm/laravel-pjax)[ RSS](/packages/simonstamm-laravel-pjax/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (6)Used By (0)

PJAX for Laravel 4
------------------

[](#pjax-for-laravel-4)

Enable the use of PJAX in Laravel 4 with redirections.

#### Installation

[](#installation)

Add `simonstamm/laravel-pjax` to `require` section in your `composer.json`

```
composer require simonstamm/laravel-pjax

```

Add `'SimonStamm\LaravelPjax\LaravelPjaxServiceProvider',` to `providers` in your `app/config/app.php`

#### How to use

[](#how-to-use)

This service provider will check, before output the http response, for the `X-PJAX`'s header in the request. If found, it will crawl the response to return the requested element defined by `X-PJAX-Container`'s header.

Works great with [jquery.pjax.js](https://github.com/defunkt/jquery-pjax).

### Contribution

[](#contribution)

I'm open to any idea of features to add to it.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~28 days

Total

5

Last Release

4564d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/940371?v=4)[Simon Stamm](/maintainers/simonstamm)[@simonstamm](https://github.com/simonstamm)

---

Top Contributors

[![simonstamm](https://avatars.githubusercontent.com/u/940371?v=4)](https://github.com/simonstamm "simonstamm (8 commits)")[![vtalbot](https://avatars.githubusercontent.com/u/1474848?v=4)](https://github.com/vtalbot "vtalbot (2 commits)")

---

Tags

laravelpjax

### Embed Badge

![Health badge](/badges/simonstamm-laravel-pjax/health.svg)

```
[![Health](https://phpackages.com/badges/simonstamm-laravel-pjax/health.svg)](https://phpackages.com/packages/simonstamm-laravel-pjax)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k9.6k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90128.1k](/packages/emargareten-inertia-modal)[linkxtr/laravel-qrcode

A clean, modern, and easy-to-use QR code generator for Laravel

3614.9k](/packages/linkxtr-laravel-qrcode)[wearepixel/laravel-cart

A cart implementation for Laravel

1355.6k](/packages/wearepixel-laravel-cart)

PHPackages © 2026

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