2017 © Pedro Peláez
 

library laravel-medium-sdk

Laravel Service Provider for Medium's SDK for PHP.

image

jonathantorres/laravel-medium-sdk

Laravel Service Provider for Medium's SDK for PHP.

  • Wednesday, March 7, 2018
  • by jonathantorres
  • Repository
  • 3 Watchers
  • 13 Stars
  • 665 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 4 Versions
  • 70 % Grown

The README.md

Laravel Medium SDK

Tests, (*1)

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., (*2)

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., (*3)

'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., (*4)

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., (*5)

// 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., (*6)

Changelog

Please see CHANGELOG for more details., (*7)

Contributing

Please see CONTRIBUTING for more details., (*8)

The Versions

07/03 2018

dev-master

9999999-dev

Laravel Service Provider for Medium's SDK for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jonathan Torres

laravel medium medium-api

07/03 2018

v0.3.0

0.3.0.0

Laravel Service Provider for Medium's SDK for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jonathan Torres

laravel medium medium-api

25/09 2017

v0.2.0

0.2.0.0

Laravel Service Provider for Medium's SDK for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jonathan Torres

laravel medium medium-api

06/04 2017

v0.1.0

0.1.0.0

Laravel Service Provider for Medium's SDK for PHP.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jonathan Torres

laravel medium medium-api