xguard/phone-scheduler 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

统计信息

  • 总下载量: 9.79k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: CSS

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固