PHPackages                             geggleto/helper\_classes - 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. geggleto/helper\_classes

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

geggleto/helper\_classes
========================

0.0.5(10y ago)147↓84.6%PHP

Since Dec 21Pushed 10y ago2 watchersCompare

[ Source](https://github.com/geggleto/helper_classes)[ Packagist](https://packagist.org/packages/geggleto/helper_classes)[ RSS](/packages/geggleto-helper-classes/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

Helper Classes
==============

[](#helper-classes)

Slim 3 is a very different beast than Slim 2. These Helper classes will help you migrate or start a new project in Slim 3.

BaseAction Example
------------------

[](#baseaction-example)

```
use \Your\Namespace;

class HelloWorldAction extends Geggleto\Helper\BaseAction {

    public function __construct(ContainerInterface $containerInterface)
    {
        parent::__construct($containerInterface);
    }

    public function __invoke (ServerRequestInterface $request, ResponseInterface $response, array $args) {
        $response = $this->view->render($response, "myview.twig", $args); //this will fetch from the container
        return $response;

    }

}

class HelloWorldMiddleware extends Geggleto\Helper\BaseMiddleware {

    public function __construct(ContainerInterface $containerInterface)
    {
        parent::__construct($containerInterface);
    }

    public function __invoke (ServerRequestInterface $request, ResponseInterface $response, callable $next) {

        //Do stuff before your Action

        $response = $next($request, $response);

        //Do Stuff After Your Action

        return $response;
    }

}
```

Setup/Config
------------

[](#setupconfig)

None!

Usage
-----

[](#usage)

HelloWorldAction

```
$app->get('/hello/world', '\Your\Namespace\HelloWorldAction');

```

HellWorldMiddleware

```
$app->add('\Your\Namespace\HelloWorldMiddleware');

```

Container
---------

[](#container)

These classes hold a container instance so you can receive dependencies via $this, just like in Slim 2.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

5

Last Release

3843d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f941aecd52e3f8ac94dbe9b714801c7adc767acc32644d3ee6a4efeded84c5e?d=identicon)[geggleto](/maintainers/geggleto)

---

Top Contributors

[![geggleto](https://avatars.githubusercontent.com/u/4027602?v=4)](https://github.com/geggleto "geggleto (19 commits)")

### Embed Badge

![Health badge](/badges/geggleto-helper-classes/health.svg)

```
[![Health](https://phpackages.com/badges/geggleto-helper-classes/health.svg)](https://phpackages.com/packages/geggleto-helper-classes)
```

###  Alternatives

[moodle/moodle

Moodle - the world's open source learning platform

7.2k88.5k71](/packages/moodle-moodle)[oat-sa/tao-core

TAO core extension

66143.7k119](/packages/oat-sa-tao-core)[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

3.9k27.8k](/packages/azuracast-azuracast)[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[bryanjhv/slim-session

Session middleware and helper for Slim framework 4.

2411.0M16](/packages/bryanjhv-slim-session)[egroupware/openid

EGroupware OpenID Connect / OAuth2 server

1228.1k3](/packages/egroupware-openid)

PHPackages © 2026

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