Registry / http-client / mautic-api-library

mautic-api-library

JSON →
library4.0.0phppackagistunverified

Mautic API Connector Library

composer require mautic/api-library
INSTALL
IMPORT
SIG · MAUTIC-API-LIBRARY
M
mautic-api-library
http-clientphpv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MauticApi
use Mautic\Api\MauticApi;

Connect to Mautic and fetch contacts

use Mautic\Api\MauticApi; $api = new MauticApi([ 'baseUrl' => 'https://your-mautic.com', 'username' => 'admin', 'password' => 'password' ]); $contacts = $api->get('contacts'); print_r($contacts);
Debug
Known issues
breakingBreaking change in v4: authentication method changed from OAuth1 to OAuth2
fix
Update authentication configuration to use OAuth2 credentials
affects: >=4.0.0
Upgrade
Version history
4.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
16
Amazon
1
Resources
mautic-api-library — pip install mautic-api-library · libregistry