PHPackages                             asgrim/side-effect - 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. asgrim/side-effect

ActiveLibrary[Framework](/categories/framework)

asgrim/side-effect
==================

Side Effect Framework

1.0.x-dev(3y ago)1611MITPHPPHP 8.1.\*

Since Aug 5Pushed 3y ago2 watchersCompare

[ Source](https://github.com/asgrim/side-effect)[ Packagist](https://packagist.org/packages/asgrim/side-effect)[ RSS](/packages/asgrim-side-effect/feed)WikiDiscussions 1.0.x Synced 1mo ago

READMEChangelogDependencies (4)Versions (1)Used By (0)

Side Effect 💥
=============

[](#side-effect-)

> **This is what stringly-typed programming is (h/t [@nilsluxton](https://twitter.com/nilsluxton/status/1555204139562549254))**

Side effect is a middleware-ish framework that does NOT support PSR-15.

Everything is marshalling a string, basically. So, everything is `__toString()`.

Features ✨
----------

[](#features-)

- 💻 Dispatch controllers (extend `\Asgrim\SideEffect\Features\AbstractController` for ease of use!)
- 🧅 Dispatch middlewares (anything that implements `\Asgrim\SideEffect\Dispatchable` can be used!)
- 💾 Perform database queries using `\Asgrim\SideEffect\Features\PerformDatabaseQuery`
- 🤫 Handle errors effectively with `\Asgrim\SideEffect\Features\ShutTheHellUpDecorator`

Basic Usage
-----------

[](#basic-usage)

```
echo (new Framework(
    $serverRequest, // You could use `guzzlehttp/psr7` to make this
    [
        // Add loads more middlewares here to do spooky things! 💕
        new class extends AbstractController {
            public function __toString() : string
            {
                return 'Hello, world!';
            }
        },
    ]
));
```

Demo Script 🔥
-------------

[](#demo-script-)

The `demo.php` script shows an example application using the framework. You can base your enterprise level application on this easy example.

You can run the `demo.php` script to see it in action like this:

```
php -S localhost:8000 demo.php
```

Then visit:

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% 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

Unknown

Total

1

Last Release

1382d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2734194006e4987a8e12379a63b4f6c0a4478b5818ea7ce677499b1f714a92d2?d=identicon)[asgrim](/maintainers/asgrim)

---

Top Contributors

[![asgrim](https://avatars.githubusercontent.com/u/496145?v=4)](https://github.com/asgrim "asgrim (24 commits)")[![edorian](https://avatars.githubusercontent.com/u/247397?v=4)](https://github.com/edorian "edorian (1 commits)")

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/asgrim-side-effect/health.svg)

```
[![Health](https://phpackages.com/badges/asgrim-side-effect/health.svg)](https://phpackages.com/packages/asgrim-side-effect)
```

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.3k86.3M2.2k](/packages/symfony-symfony)[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[aimeos/aimeos-core

Full-featured e-commerce components for high performance online shops

4.5k346.9k48](/packages/aimeos-aimeos-core)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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