Download the PHP package jeffersongoncalves/laravel-customer-io without Composer
On this page you can find all versions of the php package jeffersongoncalves/laravel-customer-io. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jeffersongoncalves/laravel-customer-io
More information about jeffersongoncalves/laravel-customer-io
Files in jeffersongoncalves/laravel-customer-io
Package laravel-customer-io
Short Description Laravel client for Customer.io's Track and App APIs: customer profiles, events, campaigns and transactional messaging.
License MIT
Homepage https://github.com/jeffersongoncalves/laravel-customer-io
Informations about the package laravel-customer-io
Laravel Customer.io
A Laravel client for Customer.io's Track API and App API. Covers customer profiles, events, campaigns and transactional messaging through a simple, typed API built on Laravel's Http client.
Features
- Customers (Track/App API):
identify,get,delete,trackEvent - Campaigns (App API):
list,get,metrics,trigger - Transactional messaging (App API):
sendEmail - Throws
CustomerIoException(with the original API error body) on any non-2xx response
Installation
You can install the package via composer:
Publish the config file:
Set your Customer.io credentials in .env:
The site ID and Track API key are found under Settings > Account Settings > API Credentials. The App API key is created under Settings > API Credentials > App API Keys.
Configuration
Usage
The package is resolved via the CustomerIo facade or by injecting JeffersonGoncalves\CustomerIo\CustomerIo. Each resource is exposed as a method returning a dedicated resource class.
Customers
Campaigns
Transactional messaging
Error handling
Any non-2xx API response throws JeffersonGoncalves\CustomerIo\Exceptions\CustomerIoException, which exposes the decoded error body:
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-customer-io with dependencies
illuminate/http Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
spatie/laravel-package-tools Version ^1.14.0