PHPackages                             lewnelson/namecheap-interface - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. lewnelson/namecheap-interface

ActiveLibrary[API Development](/categories/api)

lewnelson/namecheap-interface
=============================

Interface to namecheaps API

016PHP

Since Nov 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/lewnelson/namecheap-interface)[ Packagist](https://packagist.org/packages/lewnelson/namecheap-interface)[ RSS](/packages/lewnelson-namecheap-interface/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

namecheap-interface
===================

[](#namecheap-interface)

A PHP interface to Namecheap's API

Install via composer.json

```
 "require": {
   "lewnelson/namecheap-interface": "dev-master"
 }

```

This library is intended to allow easy interaction with Namecheaps API. For now you can only interact with your current domains, setting, deleting and getting host/MX records. Setup, configure and edit email forwarding. And configure nameservers either using custom nameservers or setting them to use Namecheaps default nameservers. The library covers the following commands from Namecheaps API and enhances them allowing more of an objective interaction allowing for manipulation of single objects.

I aim to simplify the interaction between your app and Namecheaps API, by formatting responses in sensible ways for further interaction as well as allowing sensibly formatted requests.

Documentation
-------------

[](#documentation)

There is no official documentation as of yet, but I will be creating example code which can be used/modified to fit in your project. These will consist of classes in /Examples/Classes which will be split to interact with MethodTypes, or be split further if necessary. These should allow more of an insight as to how the library works and what you are able to achieve with it. The other directories in /Examples are procedural PHP code which correspond to individual actions, including these files directly into your project will run the /Example code from corresponding classes. Feel free to use as much or as little of the /Example code.

Once I have added some more functionality to the library I intend to add some more official documentation as well as the Example code, which will explain in more detail each of the functions available.

Below is a TODO list with all planned functions as well as scored out functions which are already implemented.

TODO
----

[](#todo)

### domains

[](#domains)

- getList
- getContacts
- create
- getTldList
- setContacts
- check
- reactivate
- renew
- getRegistrarLock
- setRegistrarLock
- getInfo

### domains.dns

[](#domainsdns)

- setDefault
- setCustom
- getList
- getHosts
- getEmailForwarding
- setEmailForwarding
- setHosts

### domains.ns

[](#domainsns)

- create
- delete
- getInfo
- update

### domains.transfer

[](#domainstransfer)

- create
- getStatus
- updateStatus
- getList

### ssl

[](#ssl)

- activate
- getInfo
- parseCSR
- getApproverEmailList
- getList
- create
- renew
- resendApproverEmail
- resendfulfillmentemail
- reissue
- purchasemoresans
- revokecertificate

### users

[](#users)

- getPricing
- getBalances
- changePassword
- update
- createaddfundsrequest
- getAddFundsStatus
- login
- resetPassword

### users.address

[](#usersaddress)

- create
- delete
- getInfo
- getList
- setDefault
- update

### whoisguard

[](#whoisguard)

- changeemailaddress
- enable
- disable
- unallot
- discard
- allot
- getList
- renew

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/15097b4959a7e01654d8bc34fe2680df1a58866436d77c8d40594fc79c6cc118?d=identicon)[lewnelson](/maintainers/lewnelson)

---

Top Contributors

[![lewnelson](https://avatars.githubusercontent.com/u/11139198?v=4)](https://github.com/lewnelson "lewnelson (28 commits)")

### Embed Badge

![Health badge](/badges/lewnelson-namecheap-interface/health.svg)

```
[![Health](https://phpackages.com/badges/lewnelson-namecheap-interface/health.svg)](https://phpackages.com/packages/lewnelson-namecheap-interface)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
