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)51421[1 issues](https://github.com/JordanDalton/anthropic-sdk-php/issues)[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 today

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

29

—

LowBetter than 57% of packages

Maintenance22

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

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

890d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1389886?v=4)[Jordan Dalton](/maintainers/jordandalton)[@JordanDalton](https://github.com/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

[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

807.1M199](/packages/saloonphp-laravel-plugin)[myoutdeskllc/salesforce-php

salesforce library for php8+

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

DocuWare integration with Laravel

1123.7k](/packages/codebar-ag-laravel-docuware)[codebar-ag/laravel-zammad

Zammad integration with Laravel

107.1k](/packages/codebar-ag-laravel-zammad)

PHPackages © 2026

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