PHPackages                             jdubreville/dnsimple - 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. jdubreville/dnsimple

ActiveLibrary[API Development](/categories/api)

jdubreville/dnsimple
====================

PHP Client for dnsimple REST API.

31143PHP

Since Dec 2Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

DNSimple API Client PHP
=======================

[](#dnsimple-api-client-php)

A PHP Client for the DNSimple API. For information on parameters please review the [DNSimple API Reference](https://developer.dnsimple.com/v1/).

Please note this is still in development on pieces of the code as not all functions have been tested.

Installation
------------

[](#installation)

The API Client can be installed using [Composer](https://packagist.org/packages/zendesk/zendesk_api_client_php).

### Composer

[](#composer)

```
{
  "require": {
    "jdubreville/dnsipmle_api_client_php": "dev-master"
  }
}
```

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

[](#configuration)

Configuring the client is done through an instance of the jduebrville\\dnsimple\\Client class.

```
use jdubreville\dnsimple\Client as DNSimpleAPI;

$email = "email@example.com"; // replace with your account email address
$token = "ajfdaojfoawjf98uwejfaw"; // replace with your account token (found in account settings)

$client = new DNSimpleAPI($email, $token);
```

Usage
-----

[](#usage)

### Basic Operations

[](#basic-operations)

```
// Get all domains
$domains = $client->domains()->getAll();
print_r($domains);

// Search for a given record.
$domains = $client->domains()->getAll(array('name' => 'some_host_name'));
print_r($domains);

// Create a new domain
$newDomain = $client->domains()->create(array(
  'name' => 'example.com',
  )
));
print_r($newDomain);

// Get a domain
$domain = $client->domains('example.com')->get();
print_r($domain);

// Add a Domain Record
$client->domains('example.com')->records()->create(array(
  'name' => '',
  'record_type' => 'A',
  'content' => '1.2.3.4'
));

// Delete a Domain
$client->domains('example.com')->delete();
```

Note on Patches/Pull Requests
-----------------------------

[](#note-on-patchespull-requests)

1. Fork the project.
2. Make changes.
3. Add tests for it. This way future releases can be verified.
4. Commit your changes.
5. Send a pull request.

License
-------

[](#license)

Licensed under the MIT License

Please refer to the LICENSE file for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% 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/11bab88ed31f119896ac6c38ef7dd746626480a636c79f9e3403677024e808bd?d=identicon)[jdubreville](/maintainers/jdubreville)

---

Top Contributors

[![jdubreville](https://avatars.githubusercontent.com/u/7570214?v=4)](https://github.com/jdubreville "jdubreville (8 commits)")[![levidurfee](https://avatars.githubusercontent.com/u/10798199?v=4)](https://github.com/levidurfee "levidurfee (2 commits)")[![acrollet](https://avatars.githubusercontent.com/u/101649?v=4)](https://github.com/acrollet "acrollet (1 commits)")

### Embed Badge

![Health badge](/badges/jdubreville-dnsimple/health.svg)

```
[![Health](https://phpackages.com/badges/jdubreville-dnsimple/health.svg)](https://phpackages.com/packages/jdubreville-dnsimple)
```

###  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)
