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

Domainnameapi Sdk Laravel Package

upmind/domainnameapi-sdk

A PHP SDK for the DomainNameAPI service, giving Laravel and PHP apps a clean client for domain registration, transfers, renewals, availability checks, and contact management. Wraps API requests and responses so you can integrate registrar operations without writing raw HTTP calls.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Domain product line go/no-go. This SDK remains the cheapest way to validate whether domains belong in the catalog: it exposes availability checks, TLD listing/pricing, registration, transfer, renewal, DNS record management, WHOIS privacy, and EPP retrieval, so an experiment can ship in weeks rather than after a months-long SOAP integration.
  • Platform baseline / PHP version policy. v1.1 regenerates the client against PHP 8.1, so adopting it now implicitly ratifies a PHP 8.1+ floor. That is compatible with Laravel 10/11 but rules out staying on older runtime branches for the domain service. If the domain add-on ships as a separate service or package, this is a small, contained decision; if it lands inside the monolith, the SDK effectively votes on your upgrade timeline.
  • Dependency-compatibility gate. Widening psr/log to ^2.0 || ^3.0 removes the most common install-time conflict with modern Laravel and PSR-3 logging stacks. That converts "can we even install this cleanly alongside our framework version" from an open engineering question into a yes — which is a genuine schedule unblock, not a cosmetic change.
  • Build vs. buy on the integration layer. Buy the transport (this package), build the product. The SDK removes WSDL/stub generation work but gives you nothing in domain-lifecycle modeling — order state machine, renewal reminders, expiry reconciliation with invoicing, transfer-in approvals, and margin rules are still yours. v1.1 reinforces this: the upstream delta is a toolchain refresh, not lifecycle capability.
  • Registrar selection input. If DomainNameApi is already the chosen reseller registrar (notably strong .tr coverage, broad reseller TLD catalog, prepaid balance model), this collapses integration cost to near zero and unblocks the roadmap. Do not invert the logic: never pick the registrar because this SDK exists — it's a thin generated client, not a platform.
  • Checkout and UX decisions. Availability and premium-domain pricing at the point of purchase. SOAP round trips are slow, so the PM decision is whether to block checkout on a live lookup, pre-check asynchronously, or cache TLD/price data — this package makes the call trivial but says nothing about the latency budget.
  • Back-office automation scope. What gets automated versus handled manually in the registrar panel: renewal cron design, expiry-date sync, EPP code delivery for transfers-out, privacy toggles. Each is a real ops-cost decision this integration makes affordable.
  • Observability as a requirement. PSR-3 logging means registrar calls land in the existing log pipeline, giving audit trails for money-moving, effectively irreversible operations (registrations, transfers, renewals). Treat that as a compliance/ops gate, not a nice-to-have. The psr/log widening in v1.1 makes this wiring viable across Laravel versions instead of a version-pinning exercise.
  • Upgrade-cost budgeting. v1.1 regenerates the client against a new major of its codegen base (wsdltophp/packagebase v5). Regenerated stubs can shift method signatures, type hints, and exception surfaces without any registrar-side change. Budget a re-validation cycle on every upstream release; the alternative is discovering a signature change in production.
  • Multi-registrar roadmap. If a second registrar is plausible within 18 months, decide now to put this behind your own RegistrarInterface. Generated method signatures leak quickly and make swapping expensive later — and v1.1 demonstrates exactly why: the public surface can move for reasons unrelated to your product.

When to Consider This Package

Adopt when: the stack is PHP 8.1+ / Laravel; DomainNameApi is already or nearly chosen as the reseller registrar; the required scope is the standard lifecycle (check, register, transfer, renew, DNS, privacy, EPP) rather than exotic registrar features; and you accept owning a facade, error mapping, and tests on top, because the package itself is generated and thin.

Signals it fits: you want a domain add-on shipped in weeks, you already run queues/crons for renewals, PSR-3 logging is wired into your stack, and you're on Laravel 10/11 (where the psr/log ^3.0 allowance removes the previous install friction).

Look elsewhere when:

  • Registrar choice is still open. Compare the Namecheap / ResellerClub / OpenSRS / Cloudflare ecosystems first; this package should not be the deciding factor.
  • You need a maintained, typed, tested client. Still zero stars, zero dependents, and no support contract. v1.1 is a second release and shows someone is regenerating the client — a mild positive — but it is a toolchain refresh from a single maintainer, not a maintenance commitment. You remain the de facto maintainer of anything you ship.
  • You are pinned below PHP 8.1. v1.1 raises the runtime floor. If any environment in the domain path (including CI images or legacy workers) is on 8.0 or older, pin v1.0 and accept you are now on an unmaintained branch, or solve the upgrade first.
  • You cannot tolerate generated-code churn. The packagebase v5 regeneration means the diff between v1.0 and v1.1 is not guaranteed to be source-compatible. If a signature change would ripple through controllers or jobs, that is an argument for the adapter, not against the package.
  • You need multi-registrar abstraction on day one. Write your own interface and treat this as one adapter, or skip it and integrate directly.
  • You need high-volume async availability checks, JSON/REST APIs, or a non-PHP stack.
  • You need premium/aftermarket domains, DNSSEC, zone imports, or anything the WSDL doesn't surface — you'll be editing generated code, which is uniquely painful and gets worse each time you re-regenerate.
  • Procurement requires vendor SLAs. A solo-maintained MIT package provides none.

Mitigations if adopted: pin the exact version (and lock the v1.0 → v1.1 upgrade behind a reviewed diff), snapshot the WSDL, wrap it behind your own interface, add sandbox contract tests that run on every dependency bump, use idempotency keys on money-moving calls, and budget roughly half an engineer-week per year for upkeep plus a re-validation cycle per upstream release.

How to Pitch It (Stakeholders)

Executives. "A free, MIT-licensed PHP client that lets us plug domain registration, transfer, and renewal into the billing platform in weeks instead of building a registrar integration from scratch. The latest release is a compatibility refresh — it moves the client onto PHP 8.1 and current logging libraries, which means it installs cleanly into our modern Laravel stack and requires no extra work from us. It's a tactical accelerator, not a strategic dependency — we wrap it so we can swap registrars without a rewrite. The cost is a small internal wrapper and test suite, not a license fee. The risk is that it's a tiny, low-traffic package with no community, so we own maintenance; that's a bounded, known cost, and we should expect the occasional forced re-validation when upstream regenerates the code."

Engineering. "Still WSDL-generated SOAP stubs with a thin entry point and PSR-3 logging. v1.1 regenerates against wsdltophp/packagebase v5.0.4 / packagegenerator v4.1.13 on PHP 8.1, and widens psr/log to ^2.0 || ^3.0 — that last bit is the practical win, since it stops fighting Laravel 10/11's logger constraint. Treat the regeneration as a potential source-compatible-but-not-guaranteed diff: read it before bumping, and re-run contract tests. Plan unchanged: an adapter implementing our own registrar interface, explicit mapping from registrar faults to domain-level errors (domain taken, invalid auth code, insufficient balance, invalid TLD), idempotency on registrations and renewals, retries with backoff, and sandbox contract tests. Never call it directly from controllers or jobs. The PHP 8.1 floor is now a hard requirement of this path."

Framing note for both. The package's low opportunity score and zero dependents still make it a dependency to contain, not a bet to make. v1.1 improves the odds it installs without a fight and shows the maintainer is still regenerating it; it does not change the shape of the bet. Value comes entirely from what we build around it.

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource