campaigningbureau / unbounce-api-client
A Laravel Package to communicate with the Unbounce API
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 1
Open Issues: 4
pkg:composer/campaigningbureau/unbounce-api-client
Requires
- guzzlehttp/guzzle: ^6.3
- illuminate/support: ~5
Requires (Dev)
- mockery/mockery: ^0.9.9
- orchestra/testbench: ^3.6
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2025-09-22 00:48:43 UTC
README
Description
A library to consume the Unbounce Api in your Laravel Application.
Installation
First require in Composer:
composer require campaigningbureau/unbounce-api-client
The Service Provider is found via Laravel Autodiscovery.
Then publish the config settings:
php artisan vendor:publish
Configuration
After publishing the config file you can edit them in config/unbounce.php
.
Make sure you configure at least api_key
.
Usage
Subaccounts
Load subaccounts as a Collection of Subaccount
Objects:
$account_id = 'myAccountId'; $subaccounts = Unbounce::subaccounts($account_id);
Pages
By default the pages of a subaccount are not loaded. To load them use the following command:
$account_id = 'myAccountId'; $subaccounts = Unbounce::subaccounts($account_id); $my_subaccount = $subaccounts->first(); $pages = $my_subaccount->getPages();
Still missing
- More Subaccounts informations:
- Domains
- Leads
- Other Resource Routes
- OAuth AuthenticationDriver