detain / myadmin-opensrs-domains
OpenSRS domain registration, renewal, and management plugin for the MyAdmin control panel. Provides integration with the OpenSRS API for domain lifecycle operations including registration, transfers, WHOIS privacy, nameserver management, and event polling.
Package info
github.com/myadmin-plugins/opensrs-domains
Type:myadmin-plugin
pkg:composer/detain/myadmin-opensrs-domains
Requires
- php: >=5.0.0
- ext-soap: *
- detain/myadmin-plugin-installer: dev-master
- detain/osrs-toolkit-php: >=3.4.3@stable
- symfony/event-dispatcher: >=2.8.26
Requires (Dev)
- codacy/coverage: dev-master
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: *
- phpunit/phpunit-mock-objects: *
- satooshi/php-coveralls: *
- vlucas/phpdotenv: *
README
OpenSRS domain registration, renewal, and management plugin for the MyAdmin control panel. Provides full integration with the OpenSRS API for domain lifecycle operations including registration, transfers, renewals, WHOIS privacy, nameserver management, DNS SEC, lock/unlock, and event polling/acknowledgement.
Features
- Domain registration and renewal via the OpenSRS API
- Domain transfer initiation and status checking
- WHOIS privacy enable/disable
- Nameserver creation, deletion, and retrieval
- Domain lock/unlock management
- Event polling and acknowledgement for webhook-style notifications
- XML and JSON API request support
- TLD-specific registration field handling (
.ca,.eu,.au,.fr,.it,.us, and more) - Premium domain detection and pricing
Installation
Install with Composer:
composer require detain/myadmin-opensrs-domains
Configuration
The plugin requires the following constants or settings to be defined:
| Constant | Description |
|---|---|
OPENSRS_USERNAME |
OpenSRS reseller API username |
OPENSRS_PASSWORD |
OpenSRS reseller API password |
OPENSRS_KEY |
OpenSRS reseller private key |
OPENSRS_TEST_KEY |
OpenSRS test environment key |
Running Tests
composer install vendor/bin/phpunit
License
This package is licensed under the LGPL-2.1 license.