LaravelPackages.net
Acme Inc.
Toggle sidebar
princealikhan/lumen-mautic-api

Free and Open Source Marketing Automation API

3
2
1.0.6
About princealikhan/lumen-mautic-api

princealikhan/lumen-mautic-api is a Laravel package for free and open source marketing automation api. It currently has 2 GitHub stars and 3 downloads on Packagist (latest version 1.0.6). Install it with composer require princealikhan/lumen-mautic-api. Discover more Laravel packages by princealikhan or browse all Laravel packages to compare alternatives.

Last updated

Mautic API in Laravel/Lumen.

Free and Open Source Marketing Automation API

Requirements

  • PHP 5.5.* or newer
  • cURL support

Mautic Setup

The API must be enabled in Mautic. Within Mautic, go to the Configuration page (located in the Settings menu) and under API Settings enable Mautic's API. You can also choose which OAuth2 protocol to use here. After saving the configuration, go to the API Credentials page (located in the Settings menu) and create a new client. Enter the callback/redirect URI that the request will be sent from. Click Apply then copy the Client ID and Client Secret to the application that will be using the API.

Register Service Provider in App\Providers\AppServiceProvider.php

$this->app->singleton('mautic',function ($app){
    $app->config('mautic');
    return $app->loadComponent('mautic','Princealikhan\Mautic\MauticServiceProvider','mautic');
});

Registering Application

In order to register you application with mautic ping this url this is one time registration.

http://your-app/mautic/application/register

Star History Chart