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

ActiveLibrary

freemius/php-sdk
================

Freemius PHP SDK

1.1.1(3mo ago)335.6k↓25%17[5 issues](https://github.com/Freemius/php-sdk/issues)GPL-2.0+PHPPHP &gt;=5.2CI failing

Since Oct 25Pushed 3mo ago7 watchersCompare

[ Source](https://github.com/Freemius/php-sdk)[ Packagist](https://packagist.org/packages/freemius/php-sdk)[ Docs](https://freemius.com)[ RSS](/packages/freemius-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (5)Used By (0)

Freemius PHP SDK
================

[](#freemius-php-sdk)

This SDK is a wrapper for accessing the API. It handles the endpoint's path and authorization signature generation.

As a plugin or theme developer using Freemius, you can access your data via the `developer` scope or `plugin` scope. If you only need to access one product, we recommend using the `plugin` scope. You can get the product's credentials in *SETTINGS -&gt; Keys*. If you need to access multiple products, use the `developer` scope. To get your credentials, click on *My Profile* at the top right menu and you'll find it in the *Keys* section.

```
  define( 'FS__API_SCOPE', 'developer' );
  define( 'FS__API_ENTITY_ID', 1234 );
  define( 'FS__API_PUBLIC_KEY', 'pk_YOUR_PUBLIC_KEY' );
  define( 'FS__API_SECRET_KEY', 'sk_YOUR_SECRET_KEY' );

  // Init SDK.
  $api = new Freemius_Api(FS__API_SCOPE, FS__API_ENTITY_ID, FS__API_PUBLIC_KEY, FS__API_SECRET_KEY);

  // Get all products.
  $result = $api->Api('/plugins.json');

  // Load 1st product data.
  $first_plugin_id = $result->plugins[0]->id;
  $first_plugin = $api->Api("/plugins/{$first_plugin_id}.json");

  // Update title.
  $api->Api("/plugins/{$first_plugin_id}.json", 'PUT', array(
    'title' => 'My New Title',
  ));
```

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance78

Regular maintenance activity

Popularity36

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 62.9% 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 ~481 days

Total

2

Last Release

98d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91b64177970652835222b81393ff44cc8e4c63b9f8573b25631133e5fb7ca753?d=identicon)[freemius](/maintainers/freemius)

---

Top Contributors

[![vovafeldman](https://avatars.githubusercontent.com/u/6830121?v=4)](https://github.com/vovafeldman "vovafeldman (22 commits)")[![fajardoleo](https://avatars.githubusercontent.com/u/16242034?v=4)](https://github.com/fajardoleo "fajardoleo (4 commits)")[![swashata](https://avatars.githubusercontent.com/u/1623381?v=4)](https://github.com/swashata "swashata (3 commits)")[![Mte90](https://avatars.githubusercontent.com/u/403283?v=4)](https://github.com/Mte90 "Mte90 (2 commits)")[![bahiirwa](https://avatars.githubusercontent.com/u/7713923?v=4)](https://github.com/bahiirwa "bahiirwa (2 commits)")[![DanieleAlessandra](https://avatars.githubusercontent.com/u/4690419?v=4)](https://github.com/DanieleAlessandra "DanieleAlessandra (1 commits)")[![alberto-freemius](https://avatars.githubusercontent.com/u/209594472?v=4)](https://github.com/alberto-freemius "alberto-freemius (1 commits)")

---

Tags

freemiusphpphp-sdksdkphpsdkfreemius

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)[microsoft/azure-storage-queue

This project provides a set of PHP client libraries that make it easy to access Microsoft Azure Storage Queue APIs.

142.6M17](/packages/microsoft-azure-storage-queue)[cryptonator/merchant-php-sdk

Cryptonator.com Merchant API SDK for PHP

2713.7k](/packages/cryptonator-merchant-php-sdk)

PHPackages © 2026

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