nextgen-tech/ewus-laravel
Composer 安装命令:
composer require nextgen-tech/ewus-laravel
包简介
README 文档
README
This package is Laravel wrapper for nextgen-tech/ewus package.
Requirements
| Version | Laravel | PHP |
|---|---|---|
| 1.x | >= 6.0 | >= 7.3 |
Installation
composer require nextgen-tech/ewus-laravel
Next run artisan command to set current password to eWUŚ:
php artisan ewus:password --init
Configuration (.env)
Base
- EWUS_SANDBOX_MODE (default: false) - disables/enables sandbox mode
- EWUS_CONNECTION (default: http) - connection used for communication
Connection
- EWUS_CONNECTION_TIMEOUT (used only by http connection) - duration to timeout request, in seconds
Password
- EWUS_PASSWORD_LENGTH (default: 8) - random generated password length
Credentials
- EWUS_CREDENTIALS_DOMAIN - operator domain
- EWUS_CREDENTIALS_LOGIN - operator login
- EWUS_CREDENTIALS_OPERATOR_ID (default: null) - operator identificator, required only for certain domains
- EWUS_CREDENTIALS_OPERATOR_TYPE (default: null) - operator type, required only for certain domains
Scheduling password changes
eWUŚ requires password changes every two weeks. We recommend changing it more frequently to be sure it will not expire. To automate this process you can create schedule which will call artisan command:
// app/Console/Kernel.php protected function schedule(Schedule $schedule) { // other schedules $schedule->command('ewus:password --random')->weeklyOn(1, '00:00'); }
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-09-29