All Projects β†’ jonathantorres β†’ laravel-medium-sdk

jonathantorres / laravel-medium-sdk

Licence: MIT license
Laravel Service Provider for Medium's SDK for PHP.

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to laravel-medium-sdk

React-Medium-Blog
React blog page which consist of last ten medium posts. The blog card is created using shards React and React application.
Stars: ✭ 14 (-30%)
Mutual labels:  medium, medium-api
medium-sdk-elixir
Elixir SDK for the Medium.com API. 🌐
Stars: ✭ 19 (-5%)
Mutual labels:  medium, medium-api
Transport Eta
Twitch streamed πŸŽ₯playground repo, README speaks to you.
Stars: ✭ 223 (+1015%)
Mutual labels:  medium
MediumUnlimited
Android App written with Flutter/Dart to navigate medium.com without limitations.
Stars: ✭ 28 (+40%)
Mutual labels:  medium
post-medium-action
This action is for posting markdown based posts to medium
Stars: ✭ 45 (+125%)
Mutual labels:  medium
Dat Medium
P2P Markdown Blog for Beaker inspired by Medium.
Stars: ✭ 225 (+1025%)
Mutual labels:  medium
aws-secure-websockets
Secure web socket implementation using AWS products and serverless framework
Stars: ✭ 49 (+145%)
Mutual labels:  medium
Sharect
πŸ”— A lightweight JavaScript library to let users share their text selections to social networks.
Stars: ✭ 192 (+860%)
Mutual labels:  medium
eve
πŸ‘» everyday explore, Github / HackNews / V2EX / Medium / Product Hunt.
Stars: ✭ 13 (-35%)
Mutual labels:  medium
blogtraversy
NPM Package that fetches all your blogs from Hashnode and Medium
Stars: ✭ 29 (+45%)
Mutual labels:  medium
medium-scrapper
Scrap Medium Articles using tags.
Stars: ✭ 34 (+70%)
Mutual labels:  medium
The-Stata-Guide
Files for the Stata Guide on Medium https://medium.com/the-stata-guide
Stars: ✭ 105 (+425%)
Mutual labels:  medium
Medium Zoom
πŸ”ŽπŸ–Ό A JavaScript library for zooming images like Medium
Stars: ✭ 2,799 (+13895%)
Mutual labels:  medium
medium-toc
Easily create a table of contents for your Medium articles in just one click. ✨
Stars: ✭ 33 (+65%)
Mutual labels:  medium
React Progressive Loader
Utility to load images and React components progressively, and get code splitting for free
Stars: ✭ 224 (+1020%)
Mutual labels:  medium
mdium
πŸ“„ publish your markdown to Medium, from the CLI
Stars: ✭ 48 (+140%)
Mutual labels:  medium
Epidemiology101
Epidemic Modeling for Everyone
Stars: ✭ 215 (+975%)
Mutual labels:  medium
vue-clap-button
πŸ‘ A Medium like clap button
Stars: ✭ 30 (+50%)
Mutual labels:  medium
python-telegram-bot-heroku-example
Repository for Medium article about creating a Telegram bot in Python and deploying it on Heroku
Stars: ✭ 13 (-35%)
Mutual labels:  medium
medium-code
A place to store my jupyter notebooks for my medium articles
Stars: ✭ 27 (+35%)
Mutual labels:  medium

Laravel Medium SDK

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].