inquid / yii2-inquid-panel
Inquid panel to mange Inquid apps and servers
Installs: 266
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is auto-updated.
Last update: 2024-11-29 05:21:08 UTC
README
Inquid Panel
Inquid panel to mange Inquid apps and servers
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist inquid/yii2-inquid-panel "*"
or add
"inquid/yii2-inquid-panel": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply add the configuration to the debug config as the following:
$config['bootstrap'][] = 'debug'; $config['modules']['debug'] = [ 'class' => 'yii\debug\Module', // uncomment the following to add your IP if you are not connecting from localhost. //'allowedIPs' => ['127.0.0.1', '::1'], 'panels' => [ 'views' => ['class' => 'inquid\panel\InquidPanel'], ] ];
you also need to set in your params file this settings:
return [ ... 'google_cloud_project_id' => '', 'google_cloud_project_zone'=>'us-central1-c', 'google_cloud_project_instance'=>'your-vm', 'google_cloud_project_lang'=>'en_US', 'google_cloud_project_number'=>'your-project-number', 'trello_url'=>'/b/board-id/board-name', ... ];
And thats it! Check the panel at the Debug Toolbar
And check them in https://console.cloud.google.com/logs/viewer?project=your_project_id