kly/laravel-onesdk is a Laravel package for laravel service provide for onesdk app php sdk.
It currently has 0 GitHub stars and 12.541 downloads on Packagist (latest version v2.0).
Install it with composer require kly/laravel-onesdk.
Discover more Laravel packages by kly
or browse all Laravel packages to compare alternatives.
Last updated
One APP SDK to laravel binding service provider
If you are using composer you could get it with composer require kly/laravel-onesdk and you are all set. Load up the autoloader and Call the classes or factory you need.
Add the Service Provider to your application's config/app.php file. Must be added to the providers array.
'providers' => [
One\Provider\OneSdkServiceProvider::class
]
This will publish the configuration file to your app's config directory. The location will be config/one.php. Specify your API settings there.
<?php
return [
'client-id' => 0,
'client-secret' => 'some-secret-string-token',
'access_token' => ''
];
php artisan vendor:publish
use Config;
use One\FactoryUri;
use One\Publisher;
new Publisher( Config::get('one.client_id'), Config::get('one.client_secret') );
new FactoryUri('https://username:[email protected]:85/kerap/254?page=1#idkomentar');