# spatie/laravel-pjax

> Laravel middleware that returns the fragments jQuery PJAX expects.

Navigation: [Developer Tools](category/developer-tools.txt) · [Index](../llms.txt)

## Facts

- GitHub: https://github.com/spatie/laravel-pjax
- HTML: https://awesomeopensource.dev/project/spatie-laravel-pjax
- Website: https://freek.dev/293-a-pjax-middleware-for-laravel-5
- License: MIT
- Language: PHP
- stars: 514
- Topics: javascript, laravel, performance, php, pjax
- Activity score: 3.7/5 (Active)
- Last commit (any branch): 2026-11-05
- Last release: 2.5.0 2026-02-25

## Description

A Laravel middleware that makes server responses compatible with the jQuery PJAX plugin, which fetches only the HTML fragment needed for the next page and swaps it into place. The result is faster navigation without a full reload while keeping server-rendered pages. The package is installed with Composer, can be configured through a published file and includes a test suite.

## Maintenance activity

- Recency: 94% (weight 40%) — last commit: 8 days ago
- Commit volume: 43% (weight 25%)
- Releases: 47% (weight 25%) — last release: 261 days ago
- Bug fixes: 74% (weight 10%)
- Commits: 2 / 90d, 9 / 365d

## Similar projects

- [stablyai/orca](stablyai-orca.md): Run several coding agents in parallel, each in its own Git worktree · Activity score 5.0/5 (Thriving)
- [tauri-apps/tauri](tauri-apps-tauri.md): Build small desktop and mobile apps with a web frontend and a Rust core · Activity score 5.0/5 (Thriving)
- [microsoft/terminal](microsoft-terminal.md): Tabs, panes and GPU rendering for PowerShell, cmd, WSL and SSH on Windows · Activity score 5.0/5 (Thriving)
- [ant-design/ant-design](ant-design-ant-design.md): A UI Design Language. · Activity score 5.0/5 (Thriving)
- [microsoft/playwright](microsoft-playwright.md): End-to-end testing and browser automation across Chromium, Firefox and WebKit · Activity score 5.0/5 (Thriving)
- [nvm-sh/nvm](nvm-sh-nvm.md): POSIX shell script for installing and switching between Node.js versions · Activity score 5.0/5 (Thriving)
