2017 © Pedro Peláez
 

library laravel-youzan

Youzan wrapper for Laravel.

image

overtrue/laravel-youzan

Youzan wrapper for Laravel.

  • Wednesday, December 6, 2017
  • by overtrue
  • Repository
  • 1 Watchers
  • 47 Stars
  • 346 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 2 Versions
  • 19 % Grown

The README.md

Laravel Youzan

Youzan wrapper for Laravel., (*1)

🚧警告!此 SDK 目前仅支持自用型应用,不支持其它类型的应用接入。 由于有赞的不人道的 996 策略,以及在没有通知用户的情况下关闭了个人收款渠道,现决定不再维护他们家任何相关 SDK,谢谢!, (*2)

Installing

  1. require package.
$ composer require overtrue/laravel-youzan -vvv
  1. config you apps
$ ./artisan vendor:publish 
# select Overtrue\LaravelYouzan\YouzanServiceProvider and enter.

Edit the config/youzan.php with right content., (*3)

Usage

  1. Use Facade
# default app
Youzan::post('youzan.shop.create', ['name' => 'Test store']);

# specify app name
Youzan::app('pet-store')->get('youzan.trade.get', ['tid' => 'xxxxxxx']);
  1. Use app() function helper.
# default app
app('youzan')->post('youzan.shop.create', ['name' => 'Test store']);

# specify app name
app('youzan')->app('pet-store')->get('youzan.trade.get', ['tid' => 'xxxxxxx']);

More usage, (*4)

PHP 扩展包开发

想知道如何从零开始构建 PHP 扩展包?, (*5)

请关注我的实战课程,我会在此课程中分享一些扩展开发经验 —— 《PHP 扩展包实战教程 - 从入门到发布》, (*6)

License

MIT, (*7)

The Versions

06/12 2017

dev-master

9999999-dev

Youzan wrapper for Laravel.

  Sources   Download

MIT

The Requires

 

by Avatar overtrue

06/12 2017

1.0.0

1.0.0.0

Youzan wrapper for Laravel.

  Sources   Download

MIT

The Requires

 

by Avatar overtrue