Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Dna Laravel Package

domainreseller/php-dna

PHP client for the Domain Reseller API supporting both REST and SOAP. Automatically detects whether you're using Reseller ID/API Key or legacy username/password credentials. Manage domains, contacts, and orders from any PHP 7.4+ app. Installs via Composer.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for registrar integration. Still a thin client for the DomainNameApi reseller API, but V4.0.0 changes what you are buying: it is now a REST-only client with a single credential model (Reseller ID + API Key), not a SOAP wrapper. The build-vs-buy answer is unchanged in direction — adopting saves the auth, request-signing, and error-mapping work for availability, registration, transfer, renewal, contact/handle management, and TLD pricing — but the estimate must be re-based on the REST surface, since that is a different API contract than the one the team would previously have scoped.
  • Registrar selection and lock-in strategy. Unchanged and still the dominant decision. A major version that retires SOAP end-to-end is the maintainer following DomainNameApi's own platform direction, which is a good sign for alignment and a reminder that your integration lifecycle is tied to that vendor's gateway roadmap. Registrar choice remains a pricing, TLD-coverage, compliance, and support-SLA decision that belongs on the roadmap.
  • Platform/infrastructure prerequisites. The removal of the PHP SOAP extension requirement is a concrete, PM-visible win: fewer host prerequisites, one less thing to provision in containers and CI images, one fewer class of environment-specific support ticket. If a previous "no" on this package was driven by SOAP extension availability on managed hosting, that objection is now retired and the decision should be revisited.
  • Secrets and credential management policy. The unified Reseller ID + API Key model simplifies onboarding and configuration surfaces, but it concentrates privilege in a single long-lived bearer-style secret. That warrants an explicit PM call on secret storage (env/vault, not committed config), rotation cadence, per-environment separation of production vs. OTE, and who can read the key. This is a small policy decision that is cheap now and expensive after an incident.
  • Roadmap sequencing for a domain-reselling feature set. The feasible envelope is unchanged: availability checks, registration, transfer, renewal, contact records, TLD price lists. DNS hosting, DNSSEC, EPP-level registry operations, and premium/aftermarket inventory still require separate validation before they hit a roadmap.
  • Time-to-market vs. differentiation. Unchanged recommendation: treat the registrar client as undifferentiated heavy lifting. The SOAP removal makes adoption marginally cheaper and makes the "just adopt it" case slightly stronger.
  • Laravel architecture decision: adapter boundary. Still the single most important call, and now more clearly justified. A major version with breaking transport and credential changes is exactly the event the internal DomainRegistrar interface exists to absorb. Keep the package behind a container-bound contract and map its types and exceptions into your own DTOs.
  • Procurement and risk sign-off. Apache-2.0 remains permissive and commercially safe — no copyleft exposure, no attribution burden beyond notices. Legal review stays a non-event; spend the review time on operational and data-handling risk instead (see below).
  • Vendor/maintainer viability signal. A major, coherent, documented release is meaningful evidence that the project is actively maintained, which partially offsets the prior single-maintainer, zero-dependents concern. It does not eliminate it: a maintainer who ships a major version can also stop shipping. Keep the risk framing as "contained bet," but move it from "possibly abandoned" to "actively maintained, still low-adoption."
  • New: data-egress review item. The release advertises "cleaner telemetry" and streamlined error reporting and performance tracing. Before adoption, confirm whether the client emits anything off-box, what it contains, and whether that can be disabled. Registrar traffic already carries registrant PII; an undocumented telemetry channel would compound it.
  • Prioritization input. The prior composite score (~29.7) and opportunity score (~32) should be re-scored rather than carried forward, since transport, dependencies, and credential model all changed. Directionally, the package moves from "useful, unproven" toward "useful, maintained, low-adoption" — still a contained bet, not a reason to pick a registrar.

When to Consider This Package

Adopt it when:

  • DomainNameApi is already your registrar, or on a short list you are actively evaluating and you need a fast integration spike to price out the work.
  • Your stack is PHP/Laravel and you want a Composer-installable client rather than hand-rolling auth and error mapping against the REST gateway.
  • New: your hosting or container environment does not (or will not) carry the PHP SOAP extension. That prerequisite is gone as of V4.0.0, so environments previously ruled out are back in scope.
  • New: you are starting fresh rather than migrating. If you are greenfield on V4, you get the REST path and the Reseller ID + API Key model with no transition cost; if you are already on V3, budget a migration, not a patch.
  • You need standard reseller operations only — availability, register, transfer, renew, contact records, TLD pricing — and can tolerate whatever subset the library actually wraps.
  • You are willing to wrap it in your own interface and pin the version, so the package is a replaceable dependency rather than an architectural commitment.
  • Legal needs a fast answer: Apache-2.0 keeps the license review a non-event.

Look elsewhere or build in-house when:

  • The registrar decision isn't made. Do not let a low-adoption client pick your registrar. Evaluate on price, TLD coverage, ICANN/compliance posture, support SLA, and API stability first.
  • You are mid-flight on a V3/SOAP-based integration. V4 is a major release: SOAP is retired end-to-end and the legacy username/password credential path is removed from settings, language files, and docs. Treat it as a breaking upgrade with a regression-test pass against OTE, not an in-place bump.
  • You need Laravel-native ergonomics. Still framework-agnostic PHP, not a Laravel package — no service provider, publishable config, facade, events, or queue integration. Budget glue code.
  • Ecosystem signals matter to your risk model. Zero dependents and a single maintainer remain true; the release cadence signal is now better, but there is still no production track record to lean on. Verify issue responsiveness yourself, and confirm the release metadata (the previously noted future-dated release stamp) rather than assuming it.
  • New — verify the release actually describes this artifact. The changelog references settings screens, language files, and panel-side API settings, which reads like a billing-panel/WHMCS module rather than a bare Composer library. If the published release notes do not map cleanly onto domainreseller/php-dna, confirm you are evaluating the right package and version before signing off on the upgrade.
  • New — you cannot tolerate or disable client-side telemetry. If error reporting and tracing cannot be turned off or scoped, and your privacy posture forbids third-party egress from registrar flows, that is a blocker.
  • You need capabilities outside the wrapper. DNSSEC, advanced DNS record management, premium/aftermarket inventory, EPP commands, or multi-registrar routing are still not solved by this package.
  • You need typed DTOs, comprehensive tests, and CI guarantees. Maturity is still README + releases; documentation was refreshed, but that is not the same as a test suite. Treat it as a starting point you will harden.

How to Pitch It (Stakeholders)

To executives: This is a small, permissively licensed PHP client (Apache-2.0) for the DomainNameApi reseller service, and it just had a significant modernization release: it now talks to the vendor's current REST gateway instead of the retired SOAP interface, and it uses a single Reseller ID + API Key credential. Practically, that means fewer server prerequisites, a simpler setup, and a clearer signal that the project is being actively maintained — which is the main thing that improved since our last look. What did not change is scale: it is still a low-adoption, single-maintainer library. So the recommendation stands: use it to stand up domain search, registration, transfer, and renewal flows in days rather than weeks, behind our own internal interface, with the version pinned and the API key treated as a production secret. If we change registrars or the library stalls, we swap one component, not the product. Caveats we should note before approving: this is a major version with breaking changes, so any existing SOAP-based work needs migration rather than an upgrade; and the release mentions telemetry, so we want written confirmation of what leaves our servers and how to turn it off. Recommendation: approve as a contained, reversible bet, contingent on DomainNameApi being the registrar we actually want on commercial terms.

To engineering: Treat domainreseller/php-dna as an untrusted, replaceable HTTP client. Wrap it behind a DomainRegistrar contract bound in the service container; do not let its types leak into domain or application layers. Map its exceptions and responses into our own DTOs, add contract tests against the OTE sandbox, pin the version in composer.json (^4.0 only after the contract tests pass), and log every request and response for reconciliation. Specific to V4: drop any SOAP extension assumptions from Dockerfiles, CI images, and runbooks; move credentials from username/password to Reseller ID + API Key with vault-or-env storage and a rotation plan; maintain separate production and OTE credentials; and confirm in writing whether the new error-reporting and tracing emits anything off-box and how to disable it. Assume we own the maintenance — README-and-releases maturity, zero dependents, one maintainer — so no upstream rescue plan. Flag immediately if the library's actual REST coverage doesn't match our feature envelope, since that changes the build-vs-buy math.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk