OAuth2 Connector for the Coinbase Connect API, not covered by the official Coinbase PHP library
Begin by installing this package through Composer.
composer require gustavtrenwith/coinbase_connector
Then run composer update
Then register the service providers and Facades in config/app.php
GustavTrenwith\Coinbase\CoinbaseConnectorServiceProvider::class,
'CoinbaseConnector' => GustavTrenwith\Coinbase\CoinbaseConnectorFacade::class,
Now you can use the CoinbaseConnector
facade anywhere in your application
COINBASE_AUTHORIZE_URI=https://www.coinbase.com/oauth/authorize
COINBASE_ACCESS_TOKEN_URL=https://api.coinbase.com/oauth/token
COINBASE_CLIENT_ID=your_client_id
COINBASE_CLIENT_SECRET=your__client_secret
Run the following command to automatically add the coinbase config file to the config directory
php artisan vendor:publish
Feel free to email me if you have any questions: gtrenwith@gmail.com