Download the PHP package jeffersongoncalves/laravel-activecampaign without Composer
On this page you can find all versions of the php package jeffersongoncalves/laravel-activecampaign. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffersongoncalves/laravel-activecampaign
More information about jeffersongoncalves/laravel-activecampaign
Files in jeffersongoncalves/laravel-activecampaign
Package laravel-activecampaign
Short Description PHP/Laravel client for the ActiveCampaign REST API v3: contacts, lists, campaigns, deals, automations, tags, pipelines, webhooks and users.
License MIT
Homepage https://github.com/jeffersongoncalves/laravel-activecampaign
Informations about the package laravel-activecampaign
Laravel ActiveCampaign
A PHP/Laravel client for the ActiveCampaign REST API v3. Covers contacts, lists, campaigns, deals (CRM), automations, tags, pipelines, webhooks and users through a simple, typed API built on Laravel's Http client.
Features
- Contacts: list, get, create, update, delete, sync (upsert by email)
- Lists: list, get, create, delete, subscribe/unsubscribe a contact
- Campaigns: list, get
- Deals (CRM): list, get, create, update, delete
- Automations: list, get, add a contact to an automation
- Tags: list, get, create, delete, add/remove on a contact
- Pipelines: list, get
- Webhooks: list, get, create, delete
- Users: current user (
me), list - Throws
ActiveCampaignException(with the original API error body) on any non-2xx response - Throws
InvalidArgumentExceptionbefore hitting the API when a required field is missing
Installation
You can install the package via composer:
Publish the config file:
Set your ActiveCampaign credentials in .env:
Both values are found under Settings > Developer in your ActiveCampaign account.
Configuration
Usage
The package is resolved via the ActiveCampaign facade or by injecting JeffersonGoncalves\ActiveCampaign\ActiveCampaign. Each resource is exposed as a method returning a dedicated resource class.
Contacts
Lists
Deals (CRM)
Tags
Campaigns, Automations, Pipelines, Webhooks and Users
Error handling
Any non-2xx API response throws JeffersonGoncalves\ActiveCampaign\Exceptions\ActiveCampaignException, which exposes the decoded error body:
Missing required fields (e.g. email on contacts()->create(), name on lists()->create()) throw InvalidArgumentException before any HTTP call is made.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Jefferson Gonçalves
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-activecampaign with dependencies
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
spatie/laravel-package-tools Version ^1.14.0