PHPackages                             jordandalton/anthropic-sdk-php - 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. jordandalton/anthropic-sdk-php

ActiveLibrary[API Development](/categories/api)

jordandalton/anthropic-sdk-php
==============================

This is my package anthropic-sdk-php

1.0.4(2y ago)51401[2 PRs](https://github.com/JordanDalton/anthropic-sdk-php/pulls)MITPHPPHP ^8.1

Since Sep 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/JordanDalton/anthropic-sdk-php)[ Packagist](https://packagist.org/packages/jordandalton/anthropic-sdk-php)[ Docs](https://github.com/jordandalton/anthropic-sdk-php)[ GitHub Sponsors](https://github.com/JordanDalton)[ RSS](/packages/jordandalton-anthropic-sdk-php/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (4)Versions (8)Used By (0)

Anthropic PHP SDK
=================

[](#anthropic-php-sdk)

Introduction The Anthropic PHP SDK provides an easy way to integrate with Anthropic's services from PHP applications. This SDK handles authentication, requests, and responses when communicating with Anthropic's API.

API KEY
-------

[](#api-key)

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

[](#installation)

Install the SDK using Composer:

```
composer require jordandalton/anthropic-sdk-php

```

Usage Initialize the SDK:

```
use use JordanDalton\AnthropicSdkPhp\AnthropicConnector;

AnthropicConnector::make('YOUR-API-KEY')
    ->completions()
    ->create("\n\nHuman:What is today?\n\nAssistant:);
```

Documentation
-------------

[](#documentation)

See the Anthropic API documentation for more information on available endpoints.

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

[](#contributing)

See CONTRIBUTING.md for information on contributing to the SDK.

License
-------

[](#license)

The Anthropic PHP SDK is licensed under the MIT license. See LICENSE for more information.

Let me know if you would like me to expand on any of those sections or provide more specifics! The key things to cover are installation, basic usage, linking to documentation, licensing, and contribution guidelines.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

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

Every ~32 days

Total

5

Last Release

837d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/70547ab06891b22333cff7c0d83724abcfbd3c6af95e1021b0bf7c8b3bd1a50b?d=identicon)[jordandalton](/maintainers/jordandalton)

---

Top Contributors

[![JordanDalton](https://avatars.githubusercontent.com/u/1389886?v=4)](https://github.com/JordanDalton "JordanDalton (22 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")[![bomshteyn](https://avatars.githubusercontent.com/u/4259699?v=4)](https://github.com/bomshteyn "bomshteyn (1 commits)")

---

Tags

JordanDaltonanthropic-sdk-php

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/jordandalton-anthropic-sdk-php/health.svg)

```
[![Health](https://phpackages.com/badges/jordandalton-anthropic-sdk-php/health.svg)](https://phpackages.com/packages/jordandalton-anthropic-sdk-php)
```

###  Alternatives

[skagarwal/google-places-api

Google Places Api

1913.0M8](/packages/skagarwal-google-places-api)[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

765.7M124](/packages/saloonphp-laravel-plugin)[saloonphp/rate-limit-plugin

Handle rate limits beautifully in your Saloon API integrations or SDKs

201.3M43](/packages/saloonphp-rate-limit-plugin)[myoutdeskllc/salesforce-php

salesforce library for php8+

1560.8k](/packages/myoutdeskllc-salesforce-php)[codebar-ag/laravel-docuware

DocuWare integration with Laravel

1221.1k](/packages/codebar-ag-laravel-docuware)[sandorian/moneybird-api-php

Moneybird API client for PHP

127.3k](/packages/sandorian-moneybird-api-php)

PHPackages © 2026

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