xguard/phone-scheduler
Composer 安装命令:
composer require xguard/phone-scheduler
包简介
A phone scheduler tool to organise employee shifts & priority. For use with twilio
README 文档
README
This is a phone scheduling application that generates data to be fetched by twilio.
Installation
Use the following commands to install
composer require xguard/phone-scheduler
php artisan migrate
php artisan vendor:publish --provider="Xguard\PhoneScheduler\PhoneSchedulerServiceProvider" --force
Use the following command to create an admin. It will prompt you for basic info including an ERP email.
php artisan phone-scheduler:create-admin
You can now go to the /phone-schduler path to use the pacakge. You must first login to the ERP.
To get a formatted json of the phone scheduler you can use the following API endpoint path:
/api/formatted-phone-line-data/{id}
To get current available dispatcher via a "level" you can use the following API endpoint path:
/api/get-available-agent/{id}/{level}
Develpment
Follow these steps to make modifications to the package
1: Firstly, download and drag the phone-scheduler folder inside your package folder at root level. Create a "package" folder if you don't have one.
2: Then, add line of code in the psr-4 of your root composer.json
"psr-4": { //... "Xguard\\PhoneScheduler\\": "package/phone-scheduler/src/" },
3: Add the Phone Scheduler Service provider to the config/app.php
return [ //... "providers" => [ //... Xguard\PhoneScheduler\PhoneSchedulerServiceProvider::class, ] ];
4: Navigate to the phone-scheduler package folder in your command line and perform the following commands:
composer install npm install npm run dev
5: Return to the and publish the package with the following command:
php artisan vendor:publish --provider="Xguard\PhoneScheduler\PhoneSchedulerServiceProvider" --force
6: To run package migrations
php artisan migrate --path=package/phone-scheduler/src/database/migrations
License
Lets go ahead and say we make it open source? Liscensed under the MIT license
xguard/phone-scheduler 适用场景与选型建议
xguard/phone-scheduler 是一款 基于 CSS 开发的 Composer 扩展包,目前已累计 9.79k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 04 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 xguard/phone-scheduler 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 xguard/phone-scheduler 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 9.79k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-08