Enom Bundle
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DependencyInjection Fix broken tests Jul 30, 2012
Resources Renamespaced Jul 30, 2012
Services Fix for MX Preference with DNS Sep 13, 2012
Tests Fix broken tests Jul 30, 2012
vendor
.gitignore Initial Commit Apr 2, 2012
.travis.yml Add Travis-CI config Apr 2, 2012
README.md Renamespaced Jul 30, 2012
TSEnomBundle.php Finished renamed Jul 30, 2012
composer.json Fix broken tests Jul 30, 2012
phpunit.xml.dist Add basic bundle structure Apr 2, 2012

README.md

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

more coming soon

Setup

Using Submodule

git submodule add https://github.com/shaneog/SOGEnomBundle.git vendor/bundles/SOG/EnomBundle

Using the vendors script

  [SOGEnomBundle]
      git=https://github.com/shaneog/SOGEnomBundle.git
      target=bundles/SOG/EnomBundle

Add the SOG namespace to autoloader

<?php
   // app/autoload.php
   $loader->registerNamespaces(array(
    // ...
    'SOG' => __DIR__.'/../vendor/bundles',
  ));

Add SOGEnomBundle to your application kernel

<?php
// app/AppKernel.php

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

Yml configuration

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

Usage

Using service

<?php
    $enom = $this->get('Enom');