PHPackages                             izniburak/redux - 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. izniburak/redux

ActiveLibrary

izniburak/redux
===============

simple Redux implementation for PHP

v1.0.0(6y ago)27MITPHPPHP &gt;=7.1

Since Feb 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/izniburak/redux.php)[ Packagist](https://packagist.org/packages/izniburak/redux)[ Docs](https://github.com/izniburak/redux.php)[ RSS](/packages/izniburak-redux/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Router
------

[](#router)

```
  _____            _                         _
 |  __ \          | |                       | |
 | |__) | ___   __| | _   _ __  __    _ __  | |__   _ __
 |  _  / / _ \ / _` || | | |\ \/ /   | '_ \ | '_ \ | '_ \
 | | \ \|  __/| (_| || |_| | >  <  _ | |_) || | | || |_) |
 |_|  \_\\___| \__,_| \__,_|/_/\_\(_)| .__/ |_| |_|| .__/
                                     | |           | |
                                     |_|           |_|

```

simple Redux implementation for PHP

[![Total Downloads](https://camo.githubusercontent.com/3b5087ac62c34e19b0ce7091d9118555b4ad2f07f89aca74dbecdfa467dde86c/68747470733a2f2f706f7365722e707567782e6f72672f697a6e69627572616b2f72656475782f642f746f74616c2e737667)](https://packagist.org/packages/izniburak/redux)[![Latest Stable Version](https://camo.githubusercontent.com/73043de02b596ec58c5e1e901266e23d0dd0a6ce620064f36ced536dc69d6527/68747470733a2f2f706f7365722e707567782e6f72672f697a6e69627572616b2f72656475782f762f737461626c652e737667)](https://packagist.org/packages/izniburak/redux)[![Latest Unstable Version](https://camo.githubusercontent.com/b5e029928c9ac537761d5809ed73496b505d5c17843ad26216c2e4418dd1a389/68747470733a2f2f706f7365722e707567782e6f72672f697a6e69627572616b2f72656475782f762f756e737461626c652e737667)](https://packagist.org/packages/izniburak/redux)[![License](https://camo.githubusercontent.com/3a65e19a55484ca25744f253d1424e70abe0b2bfa56c41cce57efcee67acf1a8/68747470733a2f2f706f7365722e707567782e6f72672f697a6e69627572616b2f72656475782f6c6963656e73652e737667)](https://packagist.org/packages/izniburak/redux)

Today (10 Feb 2020), I found a blog post on [Reddit](https://www.reddit.com/r/PHP/comments/f195ti/redux_in_30_lines_of_php/) about "Redux in 30 lines of PHP". You can reach it via [this link](https://sorin.live/redux-in-50-lines-of-php/). I wondered it and read blog post. I liked it! Then, I wanted to create a PHP package about that.

Install
-------

[](#install)

composer.json file:

```
{
    "require": {
        "izniburak/redux": "^1"
    }
}
```

after run the install command.

```
$ composer install

```

OR run the following command directly.

```
$ composer require izniburak/redux

```

Example Usage
-------------

[](#example-usage)

```
