Download the PHP package inspirenmy/yii2-extensions-manager without Composer
On this page you can find all versions of the php package inspirenmy/yii2-extensions-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download inspirenmy/yii2-extensions-manager
More information about inspirenmy/yii2-extensions-manager
Files in inspirenmy/yii2-extensions-manager
Package yii2-extensions-manager
Short Description Manage and install your yii2 extensions in browser!
License MIT
Informations about the package yii2-extensions-manager
yii2-extensions-manager
Extension that allows you to install, uninstall, activate and deactivate Yii2 or DotPlant extensions right through your web browser.
Documentation
- Russian
- English
Installation
The preferred way to install this extension is through composer.
Either run
or add
After it you should execute migrations:
This extension is a yii module because you should add the next code to your configuration file for an activation:
Now the extension as available by route /extensions-manager/extensions/index
.
WARNING
Extension is now on the development stage. You can use it at your own risk.
IMPORTANT
You have to have correct version of the migrate controller equal or above 0.3.1. And double check method supports property
Usage
Extensions manager has several options. It is strongly recommended to configure them, before you start.
Go to your-site.com/extensions-manager/extensions/config and fill fields with your own values:
- Github API access token - your personal Github API token. Without it you will be able to process only up to 60 requests per hour see.
- Github application name - see
- Path to Composer - your system path to composer. For Unix-like operating system you can simply run in console and copy/paste output to this field
Other fields you can leave with default values:
- Packagist URL
- Github API URL
- Extensions storage
- Extensions per page
- Verbose output
Console commands
Each command can be run with standard ./yii
command:
extension/activate
Activates extension by it's composer name. Example:
extension/deactivate
Deactivates extension by it's composer name.
extension/update-config
Updates config.
Calculates differences between @vengor/composer/installed.json
and ExtensionsManager::$extensionsStorage
and writes new ExtensionsManager::$extensionsStorage
.
That should be done when you are out of sync and you don't see your extension in list.
extension/list
Show the list of all installed extensions, it's active state and composer package type.
Dependencies
TBD
All versions of yii2-extensions-manager with dependencies
devgroup/yii2-tag-dependency-helper Version ~1.5
devgroup/yii2-deferred-tasks Version *
dmstr/yii2-migrate-command Version ^0.3.1
knplabs/packagist-api Version *
wikimedia/composer-merge-plugin Version ^1.3
devgroup/yii2-admin-utils Version @dev