PHPackages                             sweettooth/sweettooth-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. sweettooth/sweettooth-php

AbandonedArchivedLibrary

sweettooth/sweettooth-php
=========================

Sweet Tooth PHP Library

38PHP

Since Apr 3Pushed 11y ago34 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

Installation
============

[](#installation)

Get the latest version of the Sweet Tooth PHP library with:

```
git clone https://github.com/sweettooth/sweettooth-php

```

To get started, add the following to your PHP script:

```
require_once("/path/to/sweettooth-php/lib/SweetTooth.php");
```

Simple usage looks like:

```
SweetTooth::setApiKey('sk_gUjtToMzKybHZ3yGg3C4Sv4L');
$newCustomerData = array(
	'first_name' => 'Wayne',
	'last_name' => 'Rooney',
	'email' => 'wrooney@example.com'
);
$customer = SweetTooth_Customer::create($newCustomerData);
echo $customer;
```

Documentation
=============

[](#documentation)

Please see  for up-to-date documentation.

Acknowledgements
================

[](#acknowledgements)

Inspired by Stripe PHP

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 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/5e8a010ca7d4a145b2ea782f36faf424b6b902770db49b8364c8a49d3ade35ab?d=identicon)[sweettooth](/maintainers/sweettooth)

---

Top Contributors

[![vladucu](https://avatars.githubusercontent.com/u/160955?v=4)](https://github.com/vladucu "vladucu (1 commits)")

### Embed Badge

![Health badge](/badges/sweettooth-sweettooth-php/health.svg)

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

PHPackages © 2026

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