mehrnet / fossbilling-registrar-porkbun
Porkbun domain registrar adapter extension for FossBilling
Package info
github.com/mehrnet/fossbilling-registrar-porkbun
Type:fossbilling-extension
pkg:composer/mehrnet/fossbilling-registrar-porkbun
0.1.1
2026-02-20 08:40 UTC
Requires
- php: >=8.1
- fossbilling/fossbilling: *
This package is not auto-updated.
Last update: 2026-04-04 08:11:58 UTC
README
Porkbun domain registrar adapter for FOSSBilling using the Porkbun JSON API v3.
Package: mehrnet/fossbilling-registrar-porkbun
Extension ID (for directory listing): Porkbun
Implemented features
- Domain availability checks
- Domain registration
- Domain nameserver updates
- Domain detail sync (registration date, expiry date, lock/privacy flags, nameservers)
Not implemented (Porkbun API v3 limitation)
- Transfer availability and transfer submit
- Manual renewal action
- EPP/auth-code retrieval
- Contact updates
- Domain delete action
- Lock/privacy toggle actions
These methods throw clear Registrar_Exception messages so behavior is explicit in FossBilling.
Installation
Automatically from the extension directory (recommended)
- Log in to your FOSSBilling admin panel.
- Go to the Extensions page.
- Click
InstallforPorkbun. - Go to
System > Domain registration. - In
New domain registrar, enablePorkbun, then configure:API KeySecret API Key- Optional
API Base URL(defaults tohttps://api.porkbun.com/api/json/v3)
Manual .zip installation
- Download the latest release archive from this repository.
- Extract the archive into your FOSSBilling installation root so this file exists:
library/Registrar/Adapter/Porkbun.php
- Log in to FOSSBilling admin panel.
- Go to
System > Domain registration. - In
New domain registrar, enablePorkbunand enter your API credentials.
Extension directory listing notes
- Release source should be a stable downloadable archive URL (GitHub release asset or tag zip).
- Use extension type
domain-registrar. - Keep versioned releases so the directory can track:
tagdatedownload_urlchangelog_urlmin_fossbilling_version
Notes
- Porkbun registration API expects the
costin pennies and only supports the registry minimum duration for each TLD. - Premium domains are rejected by this adapter.