devgroup/yii2-events-system

The easy and flexible system of events attaching via admin panel

Maintainers

👁 fps01

Package info

github.com/DevGroup-ru/yii2-events-system

Type:yii2-extension

pkg:composer/devgroup/yii2-events-system

Statistics

Installs: 263

Dependents: 1

Suggesters: 0

Stars: 4

Open Issues: 1

dev-master 2017-07-19 07:56 UTC

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT cb29acb031c33ccdb0b44e2752d3d9c1d348322e

  • Pavel Fedotov <fps.06.woop@mail.ru>

eventextensionyii2

This package is not auto-updated.

Last update: 2026-06-21 04:11:19 UTC


README

It is a Yii2 extension for events managing via admin panel.

👁 Build Status
👁 codecov

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist devgroup/yii2-events-system "*"

or add

"devgroup/yii2-events-system": "*"

to the require section of your composer.json file.

Setting

For events managing via control panel You must set the DevGroup\EventsSystem\Module module at your config/web.php configuration file.

 // ...
 'modules' => [
 // ...
 'event' => [
 'class' => 'DevGroup\EventsSystem\Module',
 'manageControllerBehaviors' => [
 'access' => [
 'class' => 'yii\filters\AccessControl',
 'rules' => [
 [
 'allow' => true,
 'roles' => ['@'],
 ],
 ],
 ],
 'verbs' =>[
 'class' => 'yii\filters\VerbFilter',
 'actions' => [
 'delete' => ['POST'],
 ],
 ]
 ],
 ],
 // ...
 ],
 // ...

After it any authorized user can manage events at the http://example.com/event/manage/index route. You can change access rules for this controller. Just update the manageControllerBehaviors property at DevGroup\EventsSystem\Module module.

Extra

  • Database structure
  • Usage examples