generationtux / laravel-marketo-rest-api
Laravel Marketo Rest Api
Package info
github.com/generationtux/laravel-marketo-rest-api
pkg:composer/generationtux/laravel-marketo-rest-api
v0.1.2
2016-11-22 21:07 UTC
Requires
This package is not auto-updated.
Last update: 2026-03-15 04:07:16 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'), ] ];