PHPackages                             mainio/c5-controller-extensions - 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. mainio/c5-controller-extensions

AbandonedArchivedLibrary

mainio/c5-controller-extensions
===============================

Provides some useful extensions for concrete5 controllers.

v0.2(9y ago)01171MITPHPPHP &gt;=5.4.0

Since Jul 30Pushed 9y ago3 watchersCompare

[ Source](https://github.com/mainio/c5pkg_controller_extensions)[ Packagist](https://packagist.org/packages/mainio/c5-controller-extensions)[ Docs](http://www.mainiotech.fi)[ RSS](/packages/mainio-c5-controller-extensions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Controller extensions for concrete5
===================================

[](#controller-extensions-for-concrete5)

This is a composer package that provides some useful features to be used in concrete5 controllers. This provides the features as

In order to use these extensions, you will need to be running PHP 5.4 or newer in order to take advantage of the traits provided by this package.

How to use?
-----------

[](#how-to-use)

Add a composer.json file into your concrete5 package's directory. Into that file, add the following content:

```
{
    "require": {
        "mainio/c5-controller-extensions": "*"
    }
}

```

And then run `composer install` in the same directory. After this, add the following on top of your package controller (after the namespace definition):

```
include(dirname(__FILE__) . '/vendor/autoload.php');
```

After this you can use the extension traits in your controllers as follows:

```
namespace Concrete\Package\YourPackage\Controller\SinglePage\Dashboard\YourPackage;

defined('C5_EXECUTE') or die("Access Denied.");

// Choose one of these (depending on your use case)
use \Mainio\C5\Twig\Page\Controller\DashboardPageController;
// OR
use \Concrete\Core\Page\Controller\DashboardPageController;

class YourPage extends DashboardPageController
{

    use \Mainio\C5\ControllerExtensions\Controller\Extension\WhatEverExtension;

}
```

Currently the following extensions are provided by this package:

- \\Mainio\\C5\\ControllerExtensions\\Controller\\Extension\\DoctrineEntitiesExtension
- \\Mainio\\C5\\ControllerExtensions\\Controller\\Extension\\FlashMessagesExtension

License
-------

[](#license)

Licensed under the MIT license. See LICENSE for more information.

Copyright (c) 2015 Mainio Tech Ltd.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

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 ~314 days

Total

2

Last Release

3630d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/39bf47dabfa0ac8934f8fa2d0faaa26e61c6e179216b862c39270eb182a624d7?d=identicon)[ahukkanen](/maintainers/ahukkanen)

---

Top Contributors

[![ahukkanen](https://avatars.githubusercontent.com/u/864340?v=4)](https://github.com/ahukkanen "ahukkanen (3 commits)")

---

Tags

concrete5extensionsextensioncontroller

### Embed Badge

![Health badge](/badges/mainio-c5-controller-extensions/health.svg)

```
[![Health](https://phpackages.com/badges/mainio-c5-controller-extensions/health.svg)](https://phpackages.com/packages/mainio-c5-controller-extensions)
```

###  Alternatives

[aimeos/ai-controller-jobs

Aimeos job controllers for long running tasks

970337.5k10](/packages/aimeos-ai-controller-jobs)[aimeos/ai-controller-frontend

Aimeos business controller logic for frontend

966339.3k12](/packages/aimeos-ai-controller-frontend)[bnomei/autoloader-for-kirby

Helper to automatically load various Kirby extensions in a plugin

185.7k2](/packages/bnomei-autoloader-for-kirby)

PHPackages © 2026

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