{"id":21832491,"url":"https://github.com/joecohens/now-php-client","last_synced_at":"2026-03-10T18:03:13.121Z","repository":{"id":57000711,"uuid":"106905656","full_name":"joecohens/now-php-client","owner":"joecohens","description":"A PHP 5.4+ wrapper for the Now Instant API","archived":false,"fork":false,"pushed_at":"2020-05-25T15:58:27.000Z","size":20,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-27T11:45:03.255Z","etag":null,"topics":["now","now-client","php","php-client","zeit"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joecohens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-14T06:52:14.000Z","updated_at":"2020-05-25T15:58:28.000Z","dependencies_parsed_at":"2022-08-21T13:20:45.884Z","dependency_job_id":null,"html_url":"https://github.com/joecohens/now-php-client","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/joecohens/now-php-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joecohens%2Fnow-php-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joecohens%2Fnow-php-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joecohens%2Fnow-php-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joecohens%2Fnow-php-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joecohens","download_url":"https://codeload.github.com/joecohens/now-php-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joecohens%2Fnow-php-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30346482,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["now","now-client","php","php-client","zeit"],"created_at":"2024-11-27T19:20:17.440Z","updated_at":"2026-03-10T18:03:13.098Z","avatar_url":"https://github.com/joecohens.png","language":"PHP","readme":"# now php client\n\n[![Build Status](https://img.shields.io/travis/joecohens/now-php-client/master.svg?style=flat-square)](https://travis-ci.org/joecohens/now-php-client)\n[![StyleCI](https://styleci.io/repos/106905656/shield?branch=master)](https://styleci.io/repos/106905656)\n\nA non official PHP +5.4 client for the [Now Instant Api](https://zeit.co/api)\n\n## Usage\n\nInstall the package:\n\n```\ncomposer require joecohens/now-php-client\n```\n\nRequire composer autoload:\n\n```php\nrequire __DIR__.'/../vendor/autoload.php';\n```\n\nCreate an instance of the Now Client:\n\n```php\n$now = new Jeocohens\\Now\\Now(API_TOKEN, TEAM_ID);\n```\n\nUse any of the resource enpoints:\n\n```php\n$now-\u003edeployments()\n````\n\n## Reference\n\n#### Deployments\n\n```php\n$now-\u003edeployments();\n$now-\u003edeployment($id);\n$now-\u003ecreateDeployment($body);\n$now-\u003edeleteDeployment($id);\n```\n\n#### Files\n\n```php\n$now-\u003efiles($id);\n$now-\u003efile($id, $fileId);\n```\n\n#### Domains\n\n```php\n$now-\u003edomains();\n$now-\u003eaddDomain($name, $isExternalDNS = false);\n$now-\u003edeleteDomain($name);\n$now-\u003edomainRecords($domain);\n$now-\u003eaddDomainRecord($domain, array $recordData = []);\n$now-\u003edeleteDomainRecord($domain, $recordId);\n```\n\n#### Certificates\n\n```php\n$now-\u003ecertificates($cn);\n$now-\u003ecreateCertificate($cn);\n$now-\u003erenewCertificate($cn);\n$now-\u003ereplaceCertificate($cn, $cert, $key, $ca);\n$now-\u003edeleteCertificate($cn);\n```\n\n#### Aliases\n\n```php\n$now-\u003ealiases($id = null);\n$now-\u003ecreateAlias($id, $alias);\n$now-\u003edeleteAlias($id);\n```\n\n#### Secrets\n\n```php\n$now-\u003esecrets();\n$now-\u003ecreateSecret($name, $value);\n$now-\u003erenameSecret($id, $name);\n$now-\u003edeleteSecret($id);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoecohens%2Fnow-php-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoecohens%2Fnow-php-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoecohens%2Fnow-php-client/lists"}