PHPackages                             psa/cakephp-query-param-preserver - 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. psa/cakephp-query-param-preserver

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

psa/cakephp-query-param-preserver
=================================

A CakePHP Query Param Preserver Component

2.0.1(6y ago)343.6k4[1 issues](https://github.com/World-Architects/cakephp-query-param-preserver/issues)[2 PRs](https://github.com/World-Architects/cakephp-query-param-preserver/pulls)MITPHP

Since Apr 18Pushed 3y ago5 watchersCompare

[ Source](https://github.com/World-Architects/cakephp-query-param-preserver)[ Packagist](https://packagist.org/packages/psa/cakephp-query-param-preserver)[ Docs](http://www.world-architects.com/)[ RSS](/packages/psa-cakephp-query-param-preserver/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (1)Dependencies (3)Versions (7)Used By (0)

Query Param Preserver Component
===============================

[](#query-param-preserver-component)

A plugin to preserve the query params between requests and even visits by storing them in the users session.

Be aware that this is has downsides, for example if two tabs are open and an user modifies the params in one it will affect the next page reload in the other tab as well.

Setup
-----

[](#setup)

Checkout the plugin using composer.

```
composer require psa/cakephp-query-param-preserver:dev-master
```

[Load the plugin](http://book.cakephp.org/3.0/en/plugins.html#loading-a-plugin) and define the actions for which you want to preserve the query params. The plugin won't do anything by default, you have to define the actions explicitly.

```
$this->loadComponent('Psa/QueryParamPreserver.QueryParamPreserver', [
    // The action the component should be active on
    'actions' => [
        'index'
    ],
    // You want to ignore the page param on pages with pagination
    'ignoreParams' => [
        'page'
    ]
]);
```

License &amp; Copyright
-----------------------

[](#license--copyright)

Copyright PSA Publishers Ltd.

Licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~292 days

Total

5

Last Release

2549d ago

Major Versions

1.0.x-dev → 2.02018-09-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/0643e6255da841fe65260ec6e263d8908a40a84b884c32e9fc6be6a15e252fa8?d=identicon)[burzum](/maintainers/burzum)

---

Top Contributors

[![burzum](https://avatars.githubusercontent.com/u/162789?v=4)](https://github.com/burzum "burzum (18 commits)")[![dakota](https://avatars.githubusercontent.com/u/83255?v=4)](https://github.com/dakota "dakota (1 commits)")[![davidyell](https://avatars.githubusercontent.com/u/49889?v=4)](https://github.com/davidyell "davidyell (1 commits)")[![johanmeiring](https://avatars.githubusercontent.com/u/1214876?v=4)](https://github.com/johanmeiring "johanmeiring (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/psa-cakephp-query-param-preserver/health.svg)

```
[![Health](https://phpackages.com/badges/psa-cakephp-query-param-preserver/health.svg)](https://phpackages.com/packages/psa-cakephp-query-param-preserver)
```

###  Alternatives

[dereuromark/cakephp-tools

A CakePHP plugin containing lots of useful and reusable tools

333972.2k49](/packages/dereuromark-cakephp-tools)[cakedc/cakephp-phpstan

CakePHP plugin extension for PHPStan.

42776.5k46](/packages/cakedc-cakephp-phpstan)[dereuromark/cakephp-dto

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

3096.0k5](/packages/dereuromark-cakephp-dto)[dereuromark/cakephp-setup

A CakePHP plugin containing lots of useful management tools

35184.7k2](/packages/dereuromark-cakephp-setup)[dereuromark/cakephp-calendar

A CakePHP plugin to easily create calendars.

1674.7k1](/packages/dereuromark-cakephp-calendar)[dereuromark/cakephp-flash

A CakePHP plugin around powerful flash message handling.

1229.9k2](/packages/dereuromark-cakephp-flash)

PHPackages © 2026

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