Download the PHP package loveorigami/yii2-plugins-system without Composer
On this page you can find all versions of the php package loveorigami/yii2-plugins-system. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download loveorigami/yii2-plugins-system
More information about loveorigami/yii2-plugins-system
Files in loveorigami/yii2-plugins-system
Package yii2-plugins-system
Short Description Plugins system as WP for Yii2
License MIT
Informations about the package yii2-plugins-system
Getting started with Yii2-plugins-system
Yii2-plugins-system is designed to work out of the box. It means that installation requires minimal steps. Only one configuration step should be taken and you are ready to have plugin system on your Yii2 website.
1. Download
Yii2-plugins-system can be installed using composer. Run following command to download and install Yii2-plugins-system:
2. Update database schema
The last thing you need to do is updating your database schema by applying the
migrations. Make sure that you have properly configured db
application component,
add in our console config namespace migration - more here
and run the following command:
3. Configure application
Let's start with defining module in @backend/config/main.php
:
That's all, now you have module installed and configured in advanced template.
Next, open @frontend/config/main.php
and add following:
Also do the same thing with
@backend/config/main.php
@console/config/main.php
@api/config/main.php
- our modules
- etc...
Base AppId
- const APP_FRONTEND = 1;
- const APP_BACKEND = 2;
- const APP_COMMON = 3;
- const APP_API = 4;
- const APP_CONSOLE = 5;
Shortcodes
Core plugins (examples)
- External links
- Http Authentication
- Hello world!
Your plugins
- Create
- Install
Contributing to this project
Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing.
License
Yii2-plugins-system is released under the MIT License. See the bundled LICENSE.md for details.