承接 jonathantorres/laravel-medium-sdk 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

jonathantorres/laravel-medium-sdk

Composer 安装命令:

composer require jonathantorres/laravel-medium-sdk

包简介

Laravel Service Provider for Medium's SDK for PHP.

README 文档

README

Tests

Laravel Service Provider for Medium's SDK for PHP. Version 9.x of the framework is currently supported. Documentation for the SDK can be found here.

Installation via Composer

$ composer require jonathantorres/laravel-medium-sdk

Register the Service Provider

Add the Service Provider to your application's config/app.php file. Must be added to the providers array.

'providers' => [
    JonathanTorres\LaravelMediumSdk\LaravelMediumSdkServiceProvider::class,
]

Publish configuration file

This will publish the configuration file to your app's config directory. The location will be config/laravel-medium-sdk.php. Specify your API settings there.

php artisan vendor:publish

Resolve from Laravel's service container

Now just resolve the JonathanTorres\LaravelMediumSdk\LaravelMediumSdk class from Laravel's service container and start making requests to Medium's API using your credentials. More details on every method for the SDK can be found here.

// using the App facade
$medium = App::make(JonathanTorres\LaravelMediumSdk\LaravelMediumSdk::class);

// resolving from a controller method
public function index(JonathanTorres\LaravelMediumSdk\LaravelMediumSdk $medium)
{
    // use $medium here
}

Running tests

$ composer test

License

This library is licensed under the MIT license. Please see LICENSE for more details.

Changelog

Please see CHANGELOG for more details.

Contributing

Please see CONTRIBUTING for more details.

统计信息

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

GitHub 信息

  • Stars: 22
  • Watchers: 2
  • Forks: 4
  • 开发语言: PHP

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固