Basic admin interface for postfix service with settings hosted in mysql
http://www.postfix.org/MYSQL_README.html
- install vendor libs:
composer install - edit .env file manually
- run migrations:
console/yii migrate - run inernal server:
console/yii serve
- install vendor libs:
composer install --no-dev - register your [environments] in the web server
- run migrations:
console/yii migrate --interactive=0
- Debug settings:
- YII_DEBUG - (true|false)
- YII_ENV - system environment (dev|prod)
- Request parameters
- COOKIE_VALIDATION_KEY - random string, cookie salt
- Uncomment to change site root
- BASE_URL (optional) - change if admin rood different from the document root
- Database settings
- DB_DSN - database DSN (e.g. mysql:host=127.0.0.1;port=3306;dbname=postfix_mailer)
- DB_USERNAME - database user name
- DB_PASSWORD - database user password
- DB_TABLE_PREFIX (optional)
console/yii migrate- Upgrades the application by applying new migrationsconsole/yii users- List usersconsole/yii users/disable- Disable userconsole/yii users/enable- Enable userconsole/yii users/passwd- Change password
vendor/bin/phpcs --ignore=vendor --extensions=php --standard=PSR2 .- Run PSR checks
