kingscode/php-klanten-vertellen-api
Composer 安装命令:
composer require kingscode/php-klanten-vertellen-api
包简介
This is a wrapper which makes it easy to retrieve and post data to the Klanten Vertellen website
README 文档
README
A PHP implementation of the klantenvertellen.nl Api.
This is a PHP package which you can import in any of your PHP projects. The goal of this package is to make it easy to communicate with the KlantenVertellen api with just a few function calls.
Installation
composer require kingscode/php-klanten-vertellen-api
Usage
⚠️ Before you get started, make sure you already have a token and location id from the
KlantenVertellen website.
You can get the api-token from:
My Account -> Invite -> Extra Options
The ID to your review page can be found in the link on the same page as the token:
(ex: https://www.klantenvertellen.nl/invite-link/XXXXXXX/yourcompany.nl?lang=en)
Getting started
To get started you need to create a KlantenVertellenWrapper object, like so:
$repository = new Repository('YOUR-TOKEN-HERE', 1234, 'nl'); $wrapper = new KlantenVertellenWrapper(new GetReviews($repository), new ReviewInvite($repository));
Getting reviews
//This will return 50 latest reviews that got posted on your page $reviews = $wrapper->reviews()->getReviews(50); //This will return the 25 worst reviews that got posted on your page $worstReviews = $wrapper->reviews()->getWorstReviews();
Sending review invites
//You can only send an invite to the same address every 30 days $wrapper->inviter()->sendInvite('info@mail.com', 'First name', 'Last name');
kingscode/php-klanten-vertellen-api 适用场景与选型建议
kingscode/php-klanten-vertellen-api 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 11.83k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2019 年 05 月 24 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 kingscode/php-klanten-vertellen-api 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 kingscode/php-klanten-vertellen-api 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 11.83k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 18
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-24