zerospam / provulus-sdk-php
SDK for Provulus
7.1.38
2021-02-08 19:05 UTC
Requires
- php: >=5.6.0
- ext-mbstring: *
- cakephp/collection: 3.x
- giggsey/libphonenumber-for-php: ^8.0
- guzzlehttp/guzzle: ^6.2
- marc-mabe/php-enum: ^2.2
- nesbot/carbon: ^1.21
Requires (Dev)
- mockery/mockery: ^0.9.7
- phpunit/phpunit: ^5.7
- satooshi/php-coveralls: ^1.0
- dev-develop
- 7.1.38
- 6.37.1
- 6.37
- 6.36
- 6.35
- 6.33
- 6.32
- 6.31
- 6.30
- 6.29.0
- 6.28.1
- 6.28.0
- 6.27.0
- 6.26.2
- 6.26.1
- 6.26.0
- 6.25.0
- 6.23.0
- 6.22.0
- 6.21.0
- 6.20.1
- 6.20.0
- 6.19.0
- 6.18.1
- 6.18
- 6.17.7
- 6.17.6
- 6.17.5
- 6.17.4
- 6.17.3
- 6.17.2
- 6.17.1
- 6.17.0
- 6.16.4
- 6.16.3
- 6.16.2
- 6.16.1
- 6.16.0
- 6.15.1
- 6.15.0
- 6.13.4
- 6.13.3
- 6.13.2
- 6.13.1
- 6.13
- 6.12.6
- 6.12.5
- 6.12.4
- 6.12.3
- 6.12.2
- 6.12.1
- 6.12.0
- 6.3.4
- 6.3.3
- 6.3.2
- 6.3.1
- 6.3.0
- 6.2
- 6.1
- 6.0.2
- 6.0.1
- 6.0.0
- 5.3.1
- 5.3.0
- 5.2.1
- 5.2.0
- 5.1.0
- 5.0.0
- 4.3.0
- 4.2.1
- 4.2.0
- 4.1.0
- 4.0.0
- 3.9.2
- 3.9.1
- 3.9.0
- 3.8.4
- 3.8.3
- 3.8.2
- 3.8.1
- 3.8.0
- 3.7.1
- 3.7.0
- 3.6.1
- 3.6.0
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.1
- 3.1.0
- 3.0.1
- 3.0.0
- 2.0.0
- 1.2.0
- dev-PRV-70-amélioration-des-release-and-whit
- dev-master
- dev-qa
- dev-school_organization
- dev-organization_renewal_update
- dev-SDKPROV-108-organization-deactivation
- dev-fix-6.0.1
- dev-SDKPROV-55-ldap-sync-addresses-search
- dev-SDKPROV-32-organization-update
- dev-SDKPROV-30-bulk-delete-for-useremailaddr
This package is auto-updated.
Last update: 2024-10-18 17:28:38 UTC
README
This README would normally document whatever steps are necessary to get your application up and running.
What is this repository for?
This repository contains the code for a PHP library to interact with Provulus API. By using this SDK you'll be able to directly interact with the API of Cumulus to manage your clients and more.
Features
Create Clients
You can create new client
<?php
$conf = new ProvulusConfiguration(ProvulusEndpoint::LOCAL(), ProvulusApiVersion::V1());
$conf->setApiKey('test');
$client = new ProvulusClient($conf, new Client());
$createRequest = new CreateClientRequest();
$createRequest->setFirstName('Test')
->setLastName('Test')
->setDomain('testaclient.com')
->setOrganizationName('Test a client dot com')
->setEmail('test@testaclient.com')
->setTransport('mailcatcher')
->setMailboxes('10')
->setTransportPort(25)
->setPhone('5146244520')
->setLanguage(LocaleEnum::EN_US())
->withAdmin(true)
->setTestEmailDomain('test@testaclient.com');
try {
$response = $client->processRequest($createRequest);
} catch (ValidationException $e) {
var_dump($e->getValidationData());
throw $e;
}
var_dump($response);
How do I get set up?
composer require zerospam/provulus-sdk-php