adambalan/laravel-helpscout 问题修复 & 功能扩展

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

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

adambalan/laravel-helpscout

Composer 安装命令:

composer require adambalan/laravel-helpscout

包简介

A helpscout API package for laravel

README 文档

README

This is a very simple project that supports the Helpscout API project I started.

As such all tests are in that particular project. Also see that project for the Api.

This particular package for Laravel is nothing more then a Service provider that registers a set of facades to make accessing the API Endpoints easier.

Setup

  • composer require adambalan/laravel-helpscout
  • Create an ENV called: HELPSCOUT_DOCS_API_KEY and assign it your appropriate API key.

GET Requests (Facades)

POST Requests (Facades)

PUT Requests (Facades)

DELETE Requests (Facades)

ASYNC (Facades)

Response Class (Regular Class: HelpscoutApi\Response\Response)

We have a response class that contains two methods: getLocation() and getContents() which allows you to get the location of the created object and the contents of the body of the response.

For the created response to come back, pass in: {'required': true} for the body when implementing the Post Body contracts. This will make sure that any created resources are passed back to you and you can use the getContents() method to get the decoded JSON values.

For more info please see the Response docs.

Where are the tests?

The tests are located in the Helpscout API project I started.

I did not include tests here because this is nothing more then facades and a provider. There is no core logic here.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固