generationtux / laravel-marketo-rest-api
Laravel Marketo Rest Api
Installs: 252 057
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 20
Forks: 0
Open Issues: 0
Requires
This package is not auto-updated.
Last update: 2024-11-09 20:07:13 UTC
README
Installation
composer require generationtux/laravel-marketo-rest-api
Add the service provide and facade to your config/app.php
// For Laravel // Service Provider 'providers' => [ ... GenTux\Artisan\Marketo\LaravelServiceProvider::class, ]; // Facade 'aliases' => [ 'Marketo' => GenTux\Artisan\Marketo\MarketoFacade::class, ]; // For Lumen // app.php $app->register(GenTux\Artisan\Marketo\LumenServiceProvider::class);
Publish the config file
php artisan vendor:publish --provider="GenTux\Artisan\Marketo\MarketoServiceProvider"
If you're using Lumen and do not have access to publish a config, use the code below fo config and name it marketo.php:
<?php return [ 'auth' => [ 'api_url' => env('MARKETO_API_URL'), 'client_id' => env('MARKETO_CLIENT_ID'), 'client_secret' => env('MARKETO_CLIENT_SECRET'), ] ];