PHPackages                             vtalbot/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. vtalbot/pjax

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

vtalbot/pjax
============

PJAX for Laravel 4

v0.2.2(11y ago)4011.6k33[1 issues](https://github.com/vtalbot/pjax/issues)MITPHPPHP &gt;=5.3.0

Since Jul 27Pushed 7y ago3 watchersCompare

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

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

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

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

Enable the use of PJAX in Laravel 4.

If using **Laravel 5**, please see [jacobbennett/pjax](https://github.com/JacobBennett/pjax)

#### Installation

[](#installation)

Add `vtalbot/pjax` to `require` section in your `composer.json`

```
composer require vtalbot/pjax

```

Add `'VTalbot\Pjax\PjaxServiceProvider',` 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).

Example project:

### Contribution

[](#contribution)

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

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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 ~159 days

Total

4

Last Release

4242d ago

### Community

Maintainers

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

---

Top Contributors

[![vtalbot](https://avatars.githubusercontent.com/u/1474848?v=4)](https://github.com/vtalbot "vtalbot (8 commits)")[![neoascetic](https://avatars.githubusercontent.com/u/725836?v=4)](https://github.com/neoascetic "neoascetic (1 commits)")

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[illuminate/pipeline

The Illuminate Pipeline package.

9348.3M268](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10533.5M997](/packages/illuminate-pagination)[illuminate/redis

The Illuminate Redis package.

8314.4M363](/packages/illuminate-redis)[illuminate/process

The Illuminate Process package.

44869.2k98](/packages/illuminate-process)[illuminate/cookie

The Illuminate Cookie package.

224.5M132](/packages/illuminate-cookie)

PHPackages © 2026

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