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

ActiveLibrary[API Development](/categories/api)

netizens-bhavik/namecheap-laravel-sdk
=====================================

Laravel SDK for Namecheap API

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

Since Nov 16Pushed 1mo agoCompare

[ Source](https://github.com/netizens-bhavik/namecheap-laravel-sdk)[ Packagist](https://packagist.org/packages/netizens-bhavik/namecheap-laravel-sdk)[ RSS](/packages/netizens-bhavik-namecheap-laravel-sdk/feed)WikiDiscussions main Synced 1w 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 netizens-bhavik/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)

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

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 70% of packages

Maintenance68

Regular maintenance activity

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.9% 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

570d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dc188b20c56867da78dea239f2f644babd16613ef0982fd82f9cc0e21a54e14?d=identicon)[netizens-bhavik](/maintainers/netizens-bhavik)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3751.2M45](/packages/tencentcloud-tencentcloud-sdk-php)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[jasara/php-amzn-selling-partner-api

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

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

232.5k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2478.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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