Download the PHP package vheissu/kohana-plugin-system without Composer
On this page you can find all versions of the php package vheissu/kohana-plugin-system. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package 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
Composer
If you want to download this module through composer you'll have to add vheissu/kohana-plugin-system to your packages:
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
Default
- Download 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 as well.
Installation
- Open up your and enable the module:
- copy the config file stored in to your 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 as well.
Open up your command line, cd into your app's folder and run: (defaults to db) or or , to start the installation process.
Now change the 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 . This controller comes with no security, if you want to use it in a production environment you should create a controller called that extends and do an auth/acl check in the method.
Documentation
An examplary plugin is bundled with this module to get you started, along with a userguide.