Skip to content

generationtux/laravel-marketo-rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel 5 Marketo Provider

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'),
    ]
];

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages