Download the PHP package wouternl/laravel-drip without Composer
On this page you can find all versions of the php package wouternl/laravel-drip. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wouternl/laravel-drip
More information about wouternl/laravel-drip
Files in wouternl/laravel-drip
Package laravel-drip
Short Description A Laravel wrapper for Drip's REST API v2.0
License MIT
Homepage https://bitbucket.org/wouterNL/laravel-drip-php
Informations about the package laravel-drip
Drip API Laravel Wrapper
A Laravel wrapper for Drip's PHP wrapper for their REST API
Installation
1) Add the package as a dependency in your composer.json
2) publish the vendor config file
3) Add your Drip API token to the config file located in app/config/drip.php. I recommend you add this key to your project .env file instead of directly adding it to your config file. You can find your API token at the user settings page (https://www.getdrip.com/user/edit).
4) Add your Drip Account ID to the config file located in app/config/drip.php. I recommend you add this key to your project .env file instead of directly adding it to your config file.
Laravel <= 5.4
1) Add the following line to your providers array in your config/app.php
file
2) Add the following line to your aliases array in your config/app.php
file
The following functions are available:
- Drip::getCampaigns($params)
- Drip::fetchCampaign($params)
- Drip::getAccounts()
- Drip::deleteSubscriber($params)
- Drip::createOrUpdateSubscriber($params)
- Drip::fetchSubscriber($params)
- Drip::subscribeSubscriber($params)
- Drip::unsubscribeSubscriber($params)
- Drip::tagSubscriber($params)
- Drip::untagSubscriber($params)
- Drip::recordEvent($params)
- Drip::makeRequest($url, $params = array(), $req_method = self::GET)
- Drip::getRequestInfo()
- Drip::getErrorMessage()
- Drip::getErrorCode()
For more information about the REST API go to this link: https://www.getdrip.com/docs/rest-api
All versions of laravel-drip with dependencies
laravel/framework Version 5.2.*|5.3.*|5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|^6.0|^7.0|^8.0|^9.0