PHPackages                             vheissu/kohana-plugin-system - 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. [Database &amp; ORM](/categories/database)
4. /
5. vheissu/kohana-plugin-system

ActiveKohana-module[Database &amp; ORM](/categories/database)

vheissu/kohana-plugin-system
============================

A Kohana module makes it possible to manage and make use of plugins through events

1.0.3(12y ago)171424[1 issues](https://github.com/Vheissu/Kohana-Plugin-System/issues)MITPHPPHP &gt;=5.3.0

Since Sep 10Pushed 12y ago5 watchersCompare

[ Source](https://github.com/Vheissu/Kohana-Plugin-System)[ Packagist](https://packagist.org/packages/vheissu/kohana-plugin-system)[ Docs](https://github.com/Vheissu/Kohana-Plugin-System)[ RSS](/packages/vheissu-kohana-plugin-system/feed)WikiDiscussions master Synced 1mo ago

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

Kohana Plugin System
====================

[](#kohana-plugin-system)

This started out as fork of a library I wrote for Codeigniter that could be used in Kohana 3.3.

At the moment this module exists of an event(hook) system (borrowed from Laravel 3 and renamed to Plug) and a plugin manager.

Download
--------

[](#download)

### Composer

[](#composer)

If you want to download this module through composer you'll have to add **vheissu/kohana-plugin-system** to your packages:

```
{
  "require":
  {
    "vheissu/kohana-plugin-system": "1.*"
  }
}

```

If you want to store your plugins' state in config files you'll also have to add **happydemon/arr** to your package list.

Next run `composer update`

### Default

[](#default)

- [Download](https://github.com/Vheissu/Kohana-Plugin-System/archive/master.zip) the zip containing this module
- Unpack it in your modules folder

The same applies here as with composer, if you want to make store your plugins' state in config files instead of the database you'll have to download [happyDemon/arr](https://github.com/happyDemon/arr) as well.

Installation
------------

[](#installation)

3. Open up your `bootstrap.php` and enable the module: ` 'Kohana-Plugin-System' => MODPATH.'Kohana-Plugin-System'`
4. copy the config file stored in `MODPATH.Kohana-Plugin-System/config/plugins.php` to your `APPPATH.config` folder and change anything you want **(do not change manager.loader to DB yet, it will mess up your installation)**

If you've downloaded happydemon/arr, don't forget to add it on your `bootstrap.php` as well.

Open up your command line, *cd* into your app's folder and run: `php minion plugins` (defaults to db) or `php minion plugins --manager=db` or `php minion plugins --manager=config`, to start the installation process.

Now change the `manager.loader` value (if needed) in your config file.

Alrighty, you've set everything up perfectly, we've bundled an **examplary plugin manager controller** which you can visit at `http://{your app's url}/plugins`. This controller comes with no security, if you want to use it in a production environment you should create a controller called `Controller_Plugins` that extends `Kohana_Controller_Plugins` and do an auth/acl check in the `before` method.

Documentation
-------------

[](#documentation)

An examplary plugin is bundled with this module to get you started, along with a userguide.

Authors
-------

[](#authors)

- [Dwayne Charrington](https://github.com/Vheissu/)
- [Maxim Kerstens](https://github.com/happyDemon/)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~44 days

Total

4

Last Release

4492d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91a724ec7e90c57050c6fa0fa34f9faeec7041896866d4f8ddc85ed00b0f8887?d=identicon)[happyDemon](/maintainers/happyDemon)

![](https://www.gravatar.com/avatar/890e922f1e070705683477302499620a43b36066e66b2615f3f5c1394f1c651c?d=identicon)[vheissu](/maintainers/vheissu)

---

Top Contributors

[![Vheissu](https://avatars.githubusercontent.com/u/368330?v=4)](https://github.com/Vheissu "Vheissu (4 commits)")[![samwilson](https://avatars.githubusercontent.com/u/213655?v=4)](https://github.com/samwilson "samwilson (1 commits)")

---

Tags

configdatabaseeventskohanahooksplugins

### Embed Badge

![Health badge](/badges/vheissu-kohana-plugin-system/health.svg)

```
[![Health](https://phpackages.com/badges/vheissu-kohana-plugin-system/health.svg)](https://phpackages.com/packages/vheissu-kohana-plugin-system)
```

###  Alternatives

[openbuildings/jam

Small but feature rich ORM, has extensible models and builders, baked in upload functionality, supporting multiple backends (rackspace, ftp), polymorphic associations, form builders, nested forms, validators

32181.3k16](/packages/openbuildings-jam)[mvanduijker/laravel-transactional-model-events

Add eloquent model events fired after a transaction is committed or rolled back

75164.5k](/packages/mvanduijker-laravel-transactional-model-events)[arcanedev/laravel-settings

This package allows you to persists configs/settings for Laravel projects.

74131.4k6](/packages/arcanedev-laravel-settings)[illuminatech/config

Provides support for Laravel application runtime configuration managed in persistent storage

14921.0k1](/packages/illuminatech-config)[aplus/config

Aplus Framework Config Library

161.6M3](/packages/aplus-config)

PHPackages © 2026

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