Skip to content

Latest commit

 

History

History
79 lines (65 loc) · 1.66 KB

README.md

File metadata and controls

79 lines (65 loc) · 1.66 KB

SOGEnomBundle

Symfony2 bundle for the Enom API. This wraps the Enom API in a Symfony2 bundle.

Build Status

License

SOGEnomBundle is licensed under the MIT License - see the Resources/meta/LICENSE file for details

Enom API Commands Supported

(See API Command Catalog for more details)

  1. GetAccountInfo
  2. GetTLDList
  3. GetServiceContact
  4. GetOrderList
  5. Check (domain registration)
  6. GetConfirmationSettings
  7. GetExtAttributes
  8. GetBalance
  9. GetTLDDetails
  10. GetNameSuggestions
  11. GetIDNCodes
  12. TM_Check
  13. TM_GetNotice
  14. DeleteRegistration
  15. GetAgreementPage
  16. NameSpinner
  17. PE_GetResellerPrice
  18. PE_GetDomainPricing

Setup

Using Composer

"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/Tanariel/SOGEnomBundle"
    }
],
"require": {
    "sog/enom-bundle": "v1.0"
}

Add SOGEnomBundle to your application kernel

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new SOG\EnomBundle\SOGEnomBundle(),
    );
}

Yml configuration

# app/config/config.yml
sog_enom:
  url: #Enom Reseller URL
  username: #Enom Account login ID
  password: #Enom Account password

Usage

Use Examples

<?php
    $enom = $this->get('Enom');
    $response = $this->enom->getAccount()->getBalance();
    $response = $this->enom->getDomainRegistration()->nameSpinner('mysuperdomain.com');