PHPackages                             joecohens/now-php-client - 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. joecohens/now-php-client

ActiveLibrary

joecohens/now-php-client
========================

A PHP 5.4+ wrapper for the Now Instant API Edit

341PHP

Since May 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/joecohens/now-php-client)[ Packagist](https://packagist.org/packages/joecohens/now-php-client)[ RSS](/packages/joecohens-now-php-client/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

now php client
==============

[](#now-php-client)

[![Build Status](https://camo.githubusercontent.com/6ed6344e48e7a879650f2931319876a24bd28c0d8044f0a516742f2be1fdf69e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a6f65636f68656e732f6e6f772d7068702d636c69656e742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/joecohens/now-php-client)[![StyleCI](https://camo.githubusercontent.com/07fac66b8f0d06185b0ea95db528670c8c37c212db5c878da945409e87cd8001/68747470733a2f2f7374796c6563692e696f2f7265706f732f3130363930353635362f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/106905656)

A non official PHP +5.4 client for the [Now Instant Api](https://zeit.co/api)

Usage
-----

[](#usage)

Install the package:

```
composer require joecohens/now-php-client

```

Require composer autoload:

```
require __DIR__.'/../vendor/autoload.php';
```

Create an instance of the Now Client:

```
$now = new Jeocohens\Now\Now(API_TOKEN, TEAM_ID);
```

Use any of the resource enpoints:

```
$now->deployments()
```

Reference
---------

[](#reference)

#### Deployments

[](#deployments)

```
$now->deployments();
$now->deployment($id);
$now->createDeployment($body);
$now->deleteDeployment($id);
```

#### Files

[](#files)

```
$now->files($id);
$now->file($id, $fileId);
```

#### Domains

[](#domains)

```
$now->domains();
$now->addDomain($name, $isExternalDNS = false);
$now->deleteDomain($name);
$now->domainRecords($domain);
$now->addDomainRecord($domain, array $recordData = []);
$now->deleteDomainRecord($domain, $recordId);
```

#### Certificates

[](#certificates)

```
$now->certificates($cn);
$now->createCertificate($cn);
$now->renewCertificate($cn);
$now->replaceCertificate($cn, $cert, $key, $ca);
$now->deleteCertificate($cn);
```

#### Aliases

[](#aliases)

```
$now->aliases($id = null);
$now->createAlias($id, $alias);
$now->deleteAlias($id);
```

#### Secrets

[](#secrets)

```
$now->secrets();
$now->createSecret($name, $value);
$now->renameSecret($id, $name);
$now->deleteSecret($id);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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/cdc9e2de1632032ee831da93db1060f4b3b6aedf1753bdba10740fa39afe7227?d=identicon)[joecohens](/maintainers/joecohens)

---

Top Contributors

[![joecohens](https://avatars.githubusercontent.com/u/1803556?v=4)](https://github.com/joecohens "joecohens (27 commits)")

---

Tags

nownow-clientphpphp-clientzeit

### Embed Badge

![Health badge](/badges/joecohens-now-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/joecohens-now-php-client/health.svg)](https://phpackages.com/packages/joecohens-now-php-client)
```

PHPackages © 2026

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