sog/enom-bundle
Composer 安装命令:
composer require sog/enom-bundle
包简介
enom bundle
README 文档
README
Symfony2 bundle for the Enom API. This wraps the Enom API in a Symfony2 bundle.
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)
- GetAccountInfo
- GetTLDList
- GetServiceContact
- GetOrderList
- Check (domain registration)
- GetConfirmationSettings
- 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 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
Using service
<?php $enom = $this->get('Enom');
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-04-02