Download the PHP package rossbearman/laravel-active-campaign without Composer
On this page you can find all versions of the php package rossbearman/laravel-active-campaign. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rossbearman/laravel-active-campaign
More information about rossbearman/laravel-active-campaign
Files in rossbearman/laravel-active-campaign
Package laravel-active-campaign
Short Description Add Active Campaign to your Laravel application.
License MIT
Informations about the package laravel-active-campaign
Laravel ActiveCampaign
This package provides a simple interface to the ActiveCampaign API v3. It is a continuation of the original laravel-active-campaign package by Tjardoo/Label84 and can easily be migrated.
The package currently supports Contacts
, Custom Fields
, Custom Fields Values
, Tags
and Lists
. Feel free to open a pull request to add support for other endpoints.
- Laravel Support
- Installation
- Migrating from Label84/ActiveCampaign
- Usage
- Examples
- Contacts
- Custom Fields
- Custom Field Values
- Tags
- Code Quality
- License
Laravel Support
Version | Release |
---|---|
10.x | 1.3 |
11.x | 1.3.1 |
Installation
1. Install the package via composer
2. Publish the config file
3. Add the base URL and API key to your .env
Migrating from Label84/ActiveCampaign
The only change required to migrate to v1.3 is replacing Label84
with RossBearman
in namespaces and requiring rossbearman/laravel-active-campaign
instead of label84/laravel-active-campaign
in your composer.json
file.
Usage
Access via facade:
Resolve directly out of the container:
Inject into a constructor or method via automatic injection:
Examples
The following examples use the facade for simplicity and assume RossBearman\ActiveCampaign\Facades\ActiveCampaign
has been imported.
Contacts
Retrieve an existing contact
List all contact, search contacts, or filter contacts by query defined criteria
See the API docs for a full list of possible query parameters.
Create a new contact
Create a contact if they don't exist, or update an existing contact
Update an existing contact
Update the status of a contact on a list
The status should be 1
for subscribed and 2
for unsubscribed
Delete an existing contact
Add a tag to contact
Remove a tag from a contact
Custom Field Values
Retrieve an existing field value
Create a field value
Update an existing field value
Delete an existing field value
Custom Fields
Retrieve an existing field
Create a field
Update an existing field
Delete an existing field
Tags
Retrieve an existing tag
List all tags, optionally filtered by name
Create a tag
Update an existing tag
Delete an existing tag
Code Quality
License
All versions of laravel-active-campaign with dependencies
illuminate/support Version ^10.0 | ^11.0
illuminate/http Version ^10.0 | ^11.0