PHPackages                             blueweb/nette-ajax-history - 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. [Framework](/categories/framework)
4. /
5. blueweb/nette-ajax-history

ActiveLibrary[Framework](/categories/framework)

blueweb/nette-ajax-history
==========================

Adds History API support for Nette Framework 3.

3.0.3(1y ago)139.3k↓32.4%2[1 PRs](https://github.com/blueweb/history.nette.ajax.js/pulls)MITPHPPHP &gt;=7.2

Since Mar 4Pushed 10mo agoCompare

[ Source](https://github.com/blueweb/history.nette.ajax.js)[ Packagist](https://packagist.org/packages/blueweb/nette-ajax-history)[ Docs](https://github.com/blueweb/history.nette.ajax.js)[ RSS](/packages/blueweb-nette-ajax-history/feed)WikiDiscussions master Synced 1mo ago

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

History Extension
=================

[](#history-extension)

Adds History API support to nette.ajax.js addon for Nette Framework!

This repo is a fork of [vojtech-dobes/history.nette.ajax.js](https://github.com/vojtech-dobes/history.nette.ajax.js) package with additional support for Nette 3.

All credits go to Vojtěch. Thank you!

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

[](#installation)

1. Link `client-side/history.ajax.js` after `nette.ajax.js`.
2. Load PHP files with Composer: `blueweb/nette-ajax-history`
3. Register config extension in your configuration:

```
extensions:
	ajaxHistory: Blueweb\NetteAjax\HistoryExtension

```

Usage
-----

[](#usage)

Write your application as normal. All redirects and forwards will be properly handled.

To correctly update UI, use snippets. If you plan to ajaxify whole application, consider adding this snippet to your `beforeRender()` method in `BasePresenter`.

```
if ($this->isAjax()) {
	$this->invalidateControl('title');
	$this->invalidateControl('content');
}
```

And `app/@layout.latte` might be upgraded accordingly:

```
...
```

```
{snippet content}
	{include content}
{/snippet}
```

### Disabling

[](#disabling)

If you want specific links or forms exclude from scope of this addon (not make them update the URL), you can use `data-ajax-off` feature of *nette.ajax.js*.

```

```

UI Caching
----------

[](#ui-caching)

Extension will automatically cache your UI and restore it on *Back* and *Forward* buttons without communication with server. If you wish to call server on every *Back* and *Forward*, turn caching off.

```
$.nette.ext('history').cache = false;
```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance52

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 67.4% 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 ~815 days

Recently: every ~939 days

Total

6

Last Release

381d ago

Major Versions

1.0.0 → 2.0.02015-01-17

2.0.0 → 3.0.02022-03-21

PHP version history (2 changes)1.0.0PHP &gt;=5.3.1

3.0.0PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/829270?v=4)[Blueweb](/maintainers/blueweb)[@blueweb](https://github.com/blueweb)

---

Top Contributors

[![vojtech-dobes](https://avatars.githubusercontent.com/u/415925?v=4)](https://github.com/vojtech-dobes "vojtech-dobes (29 commits)")[![semisedlak](https://avatars.githubusercontent.com/u/1753633?v=4)](https://github.com/semisedlak "semisedlak (7 commits)")[![jiripudil](https://avatars.githubusercontent.com/u/1042159?v=4)](https://github.com/jiripudil "jiripudil (2 commits)")[![vysinsky](https://avatars.githubusercontent.com/u/3693578?v=4)](https://github.com/vysinsky "vysinsky (1 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (1 commits)")[![zipper](https://avatars.githubusercontent.com/u/3872371?v=4)](https://github.com/zipper "zipper (1 commits)")[![hranicka](https://avatars.githubusercontent.com/u/3034538?v=4)](https://github.com/hranicka "hranicka (1 commits)")[![ne0-cz](https://avatars.githubusercontent.com/u/4149446?v=4)](https://github.com/ne0-cz "ne0-cz (1 commits)")

---

Tags

netteajaxnette.ajax.js

### Embed Badge

![Health badge](/badges/blueweb-nette-ajax-history/health.svg)

```
[![Health](https://phpackages.com/badges/blueweb-nette-ajax-history/health.svg)](https://phpackages.com/packages/blueweb-nette-ajax-history)
```

###  Alternatives

[vojtech-dobes/nette-ajax-history

Adds History API support for Nette Framework.

30179.4k2](/packages/vojtech-dobes-nette-ajax-history)[nette/web-project

Nette: Standard Web Project

10991.8k](/packages/nette-web-project)[kdyby/autowired

Syntax sugar for working with services in Nette Framework

30885.7k9](/packages/kdyby-autowired)[adamstipak/nette-rest-route

Rest route for Nette Framework

67150.8k](/packages/adamstipak-nette-rest-route)[nasext/dependent-select-box

Dependent Select Box for Nette Framework.

21262.8k2](/packages/nasext-dependent-select-box)

PHPackages © 2026

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