PHPackages                             orgnc/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. [API Development](/categories/api)
4. /
5. orgnc/sdk

ActiveLibrary[API Development](/categories/api)

orgnc/sdk
=========

Official SDK to Integrate with the Organic Platform

00[2 PRs](https://github.com/orgnc/php-sdk/pulls)PHP

Since Apr 8Pushed 3y ago17 watchersCompare

[ Source](https://github.com/orgnc/php-sdk)[ Packagist](https://packagist.org/packages/orgnc/sdk)[ RSS](/packages/orgnc-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Organic PHP SDK
===============

[](#organic-php-sdk)

PHP SDK for [Organic Platform](https://organic.ly) API Integration

You need an account with Organic in order to connect to the API. If you are interested enhancing your digital media with the power of Organic, please [contact Organic sales](https://organic.ly/contact/).

Authentication
--------------

[](#authentication)

You can retrieve your API key from inside the Organic dashboard, under Documentation &gt; Wordpress Plugin. Note that while the API key is often used for our plugins, it can also be used directly with the SDK here.

[![Organic Dashboard API Key](/docs/api-key.png)](/docs/api-key.png)

Also, almost all actions within the SDK are performed within the context of an individual website. To get the UUID of the website you want to work with, go to the Documentation &gt; Code Snippet section of your dashboard. The UUID is a bit difficult to find at the moment, but you can see it in the config string highlighted here after you have selected the site:

[![Organic Dashboard Site UUID](/docs/site-uuid.png)](/docs/site-uuid.png)

Connecting to the API
---------------------

[](#connecting-to-the-api)

Organic publishes a GraphQL API endpoint to communicate with. Basic connection works like this:

```
use Organic\SDK\SDK;

$apiKey = '__FROM_YOUR_DASHBOARD__';
$siteId = '__UUID_FOR_YOUR_WEBSITE__';

$sdk = new SDK( $siteId, $apiKey );
```

Fetch Your Site's Ads.txt
-------------------------

[](#fetch-your-sites-adstxt)

If you are using Organic Ads on your website and want to pull your managed ads.txt content, you can pull it using:

```
$myAdsTxt = $sdk->queryAdsTxt();
```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 60% 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://avatars.githubusercontent.com/u/72039657?v=4)[Flexpress](/maintainers/orgnc)[@orgnc](https://github.com/orgnc)

---

Top Contributors

[![jdemaris](https://avatars.githubusercontent.com/u/2433170?v=4)](https://github.com/jdemaris "jdemaris (3 commits)")[![g1r0](https://avatars.githubusercontent.com/u/17737200?v=4)](https://github.com/g1r0 "g1r0 (2 commits)")

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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