Download the PHP package oscar-team/customerio-laravel without Composer
On this page you can find all versions of the php package oscar-team/customerio-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download oscar-team/customerio-laravel
More information about oscar-team/customerio-laravel
Files in oscar-team/customerio-laravel
Package customerio-laravel
Short Description Package will be used to create customers and events on Customer.io using Laravel
License MIT
Homepage https://github.com/oscar-team/customerio-laravel
Informations about the package customerio-laravel
Customer.io Integration with Laravel
Package is used to create/update customer and events for customer on Customer.io
Package is using printu/customerio package.
Installtion
You can also publish the config file with:
Generate Site ID, API Key and App API Key from Customer.io and setup variables in .env file.
If you want to setup more workspaces to connect to, then you need to copy the add them into config/customerio.php in the workspaces key.
Each workspace needs to have these 3 keys: api_key, app_api_key, site_id.
Usage
Include use Oscar\CustomerioLaravel\Facades\CustomerIo; in your controller and add following function.
Create customer.io object
or
Search Customer by Email
Create Customer
email is required to create customer and id is option but cannot be null. It is possible to add more attributes you want to add for customer.
Update Customer
email is required to create customer and id is option but cannot be null.
Create Event
While creating and event, id or email is used to link the event with customer, for