dekalee / enom
A lib to call the enom API
Installs: 27
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/dekalee/enom
Requires
Requires (Dev)
- phpspec/phpspec: ^5.1
This package is auto-updated.
Last update: 2025-10-12 22:42:09 UTC
README
This php library will be an abstraction for the Enom API.
Usage
We provide different classes to perform the requests :
- Get domain status
- Purchase domain
- Purchase additionnal services
- Set Dns host
Each of this query should be called with an argument which is the corresponding facade.
For exemple, to purchase the test.com
domain:
use GuzzleHttp\Client; use Dekalee\Enom\PurchaseQuery; $client = new Client(); $query = new PurchaseQuery('your-uid', 'your-password', $client, 'https://reseller.enom.com/interface.asp'); $facade = new PurchaseFacade(); $facade->sld = 'test'; $facade->tld = 'com'; $order = $query->execute($facade); var_dump($order);