2017 © Pedro Peláez
 

yii2-extension yii2-events-system

The easy and flexible system of events attaching via admin panel

image

devgroup/yii2-events-system

The easy and flexible system of events attaching via admin panel

  • Wednesday, July 19, 2017
  • by fps01
  • Repository
  • 6 Watchers
  • 2 Stars
  • 263 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Events system for Yii2

It is a Yii2 extension for events managing via admin panel., (*1)

Build Status codecov, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

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

or add, (*5)

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

to the require section of your composer.json file., (*6)

Setting

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

    // ...
    '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., (*8)

Extra

  • Database structure
  • Usage examples

The Versions

19/07 2017

dev-master

9999999-dev

The easy and flexible system of events attaching via admin panel

  Sources   Download

MIT

The Requires

 

The Development Requires

extension yii2 event