定制 lwk/vimbadmin-laravel-client 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

lwk/vimbadmin-laravel-client

Composer 安装命令:

composer require lwk/vimbadmin-laravel-client

包简介

Laravel client for ViMbAdmin-api

关键字:

README 文档

README

Latest Version on Packagist Software License Total Downloads

This is a laravel/(lumen?) client library for use with dpslwk/vimbadmin-api

ViMbAdmin is a web based virtual mailbox administration system for dovecote and posftix.

The down side of ViMdAdmin is that it has no APi front end. At Nottingham Hackspace we needed to change our mailbox aliases from the Hackspace Management System (HMS). As the systems run on two different server a quick REST api was thrown together for consumption by HMS 2.0. This is the client package for use in HMS 2.0

Install

Via Composer

$ composer require lwk/vimbadmin-laravel-client

The following service provider will be autodiscovered for laravel 5.5+.

LWK\ViMbAdmin\ViMbAdminServiceProvider::class,

Define setup in .env with the following values

  • VIMBADMIN_URL - Url for api endpoint
  • VIMBADMIN_ID - Client Id
  • VIMBADMIN_SECRET - Client Secret
  • VIMBADMIN_DRIVER - Token store provider [json, eloquent, doctrine]
  • VIMBADMIN_FILE - File name for json store
  • VIMBADMIN_MODEL - Eloquent model
  • VIMBADMIN_ENITITY - Docrotine Entity

or Publish the config and edit as needed

php artisan vendor:publish --provider="LWK\ViMbAdmin\ViMbAdminServiceProvider" --tag=config

If using either eloquent or doctrine token storage db migrations and mappings need to be provided.

Usage

$client = App::make(LWK\ViMbAdminClient());
echo $client->findDomains();

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email dps.lwk@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固