PHPackages                             josephjoberno/namecheap-laravel-sdk - 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. josephjoberno/namecheap-laravel-sdk

ActiveLibrary[API Development](/categories/api)

josephjoberno/namecheap-laravel-sdk
===================================

Laravel SDK for Namecheap API

1.0.0(1y ago)2147MITPHPPHP ^7.4|^8.0

Since Nov 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/josephjoberno/namecheap-laravel-sdk)[ Packagist](https://packagist.org/packages/josephjoberno/namecheap-laravel-sdk)[ RSS](/packages/josephjoberno-namecheap-laravel-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

```
# Namecheap Laravel SDK

A Laravel SDK for interacting with the Namecheap API.

## Installation

You can install the package via composer:

```bash
composer require josephjoberno/namecheap-laravel-sdk
```

Requirements
------------

[](#requirements)

- PHP ^7.4|^8.0
- Laravel ^8.0|^9.0|^10.0

Configuration
-------------

[](#configuration)

1. After installing the package, register the service provider in your `config/app.php` (Laravel will auto-discover the provider in most cases):

```
'providers' => [
    // ...
    Namecheap\Laravel\NamecheapServiceProvider::class,
];
```

2. Add the facade to your aliases:

```
'aliases' => [
    // ...
    'Namecheap' => Namecheap\Laravel\Facades\Namecheap::class,
];
```

3. .env

```
NAMECHEAP_API_KEY=
NAMECHEAP_USERNAME=
NAMECHEAP_API_USER=
NAMECHEAP_CLIENT_IP=
NAMECHEAP_SANDBOX=
```

Usage
-----

[](#usage)

You can use the Namecheap facade to interact with the Namecheap API:

```
use Namecheap\Laravel\Facades\Namecheap;

// Example usage
$response = Namecheap::domains()->getList();
```

```
## Available Resources

### Domains

The Domains resource allows you to manage domain names through the Namecheap API.

```php
use Namecheap\Laravel\Facades\Namecheap;

// Get list of domains
$domains = Namecheap::domains()->getList();

// Check domain availability
$available = Namecheap::domains()->check('example.com');

// Register a domain
$result = Namecheap::domains()->create([
    'DomainName' => 'example.com',
    'Years' => 1
]);
```

### DNS

[](#dns)

The DNS resource provides methods to manage DNS records for your domains.

```
use Namecheap\Laravel\Facades\Namecheap;

// Get DNS records for a domain
$records = Namecheap::dns()->getList('example.com');

// Set DNS hosts for a domain
$result = Namecheap::dns()->setHosts('example.com', [
    [
        'HostName' => '@',
        'RecordType' => 'A',
        'Address' => '192.0.2.1',
        'TTL' => '1800'
    ]
]);
```

### SSL Certificates

[](#ssl-certificates)

Manage SSL certificates through the Namecheap API.

```
use Namecheap\Laravel\Facades\Namecheap;

// Get list of SSL certificates
$certificates = Namecheap::ssl()->getList();

// Purchase a new SSL certificate
$result = Namecheap::ssl()->create([
    'Type' => 'PositiveSSL',
    'Years' => 1
]);
```

### Users

[](#users)

Manage user account information and settings.

```
use Namecheap\Laravel\Facades\Namecheap;

// Get user address information
$address = Namecheap::users()->getAddress();

// Get pricing information
$pricing = Namecheap::users()->getPricing();
```

### Whois

[](#whois)

Query and manage WHOIS information for domains.

```
use Namecheap\Laravel\Facades\Namecheap;

// Get WHOIS information for a domain
$whois = Namecheap::whois()->getInfo('example.com');

// Update WHOIS information
$result = Namecheap::whois()->update('example.com', [
    'FirstName' => 'John',
    'LastName' => 'Doe',
    'EmailAddress' => 'john@example.com'
]);
```

Each resource is accessible through the Namecheap facade and provides a clean, fluent interface to interact with the Namecheap API. For more detailed information about available methods and parameters, please refer to the [Namecheap API documentation](https://www.namecheap.com/support/api/intro/).

Features
--------

[](#features)

- Easy integration with Laravel projects
- Clean and simple API interface
- Support for all Namecheap API endpoints

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [josephjoberno](https://github.com/josephjoberno)
- [sylainx](https://github.com/sylainx)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

542d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4f5832ff0cfc214a56d97566ce6a0dac5fc73da6e16da00ac5107dcd4e6e2168?d=identicon)[josephjoberno](/maintainers/josephjoberno)

---

Top Contributors

[![josephjoberno](https://avatars.githubusercontent.com/u/72150255?v=4)](https://github.com/josephjoberno "josephjoberno (10 commits)")

### Embed Badge

![Health badge](/badges/josephjoberno-namecheap-laravel-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/josephjoberno-namecheap-laravel-sdk/health.svg)](https://phpackages.com/packages/josephjoberno-namecheap-laravel-sdk)
```

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[dcblogdev/laravel-microsoft-graph

A Laravel Microsoft Graph API (Office365) package

168285.5k1](/packages/dcblogdev-laravel-microsoft-graph)[vluzrmos/slack-api

Wrapper for Slack.com WEB API.

102589.1k3](/packages/vluzrmos-slack-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1344.8k1](/packages/jasara-php-amzn-selling-partner-api)[grantholle/powerschool-api

A Laravel package to make interacting with PowerSchool less painful.

1715.6k1](/packages/grantholle-powerschool-api)

PHPackages © 2026

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