PHPackages                             bonnier/sitemanager-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. bonnier/sitemanager-sdk

ActiveLibrary

bonnier/sitemanager-sdk
=======================

A PHP SDK for SiteManager

2.0.0(5y ago)024[2 PRs](https://github.com/BenjaminMedia/sitemanager-sdk/pulls)PHPPHP &gt;=7.3

Since Sep 17Pushed 3y ago9 watchersCompare

[ Source](https://github.com/BenjaminMedia/sitemanager-sdk)[ Packagist](https://packagist.org/packages/bonnier/sitemanager-sdk)[ RSS](/packages/bonnier-sitemanager-sdk/feed)WikiDiscussions master Synced 1mo ago

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

SiteManager SDK [![CircleCI](https://camo.githubusercontent.com/253089d4708819bf28dfc2136848648b3dd4d8a0a97bafa443ecd75da9687532/68747470733a2f2f636972636c6563692e636f6d2f67682f42656e6a616d696e4d656469612f736974656d616e616765722d73646b2f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/BenjaminMedia/sitemanager-sdk/tree/master)
====================================================================================================================================================================================================================================================================================================================================================================

[](#sitemanager-sdk-)

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

[](#installation)

`composer require bonnier/sitemanager-sdk`

Setup
-----

[](#setup)

Make sure to have the sitemanager host in your `.env`-file, or pass the SiteManager host to the SiteManager constructor:

```
SITE_MANAGER_HOST=https://site-manager.test

```

or

```
$siteManager = new SiteManager('https://site-manager.test');
```

Usage
-----

[](#usage)

First of all you'll need to instantiate the SiteManager class:

```
use Bonnier/SiteManager/SiteManager;

$siteManager = new SiteManager();
```

Then you'll be ready to interact with SiteManager

#### Apps

[](#apps)

```
// Retrieve a collection of all apps in SiteManager
$siteManager->app()->getAll();

// Get a specific app from SiteManager
$siteManager->app()->getById(1);
```

#### Brands

[](#brands)

```
// Retrieve a collection of all brands in SiteManager
$siteManager->brand()->getAll();

// Get a specific brand from SiteManager
$siteManager->brand()->getById(1);
```

#### Categories

[](#categories)

```
// Retrieve a collection of all categories in SiteManager
$siteManager->category()->getAll();

// Get a specific category from SiteManager
$siteManager->category()->getById(1);

// Get a specific category by its Contenthub ID from SiteManager
$siteManager->category()->getByContenthubId('abc123');

// Get a collection of categories by a specific brand in from SiteManager
$siteManager->category()->getByBrandId(1);
```

#### Sites

[](#sites)

```
// Retrieve a collection of all the sites in SiteManager
$siteManager->site()->getAll();

// Get a specific site from SiteManager
$siteManager->site()->getById(1);
```

#### Tags

[](#tags)

```
// Retrieve a collection of all the tags in SiteManager
$siteManager->tag()->getAll();

// Get a specific tag from SiteManager
$siteManager->tag()->getById(1);

// Get a specific tag by its Contenthub ID from SiteManager
$siteManager->tag()->getByContenthubId('abc123');

// Get a collection of tags by a specific brand from SiteManager
$siteManager->tag()->getByBrandId(1);
```

#### Vocabularies

[](#vocabularies)

```
// Retrieve a collection of all the vocabularies in SiteManager
$siteManager->vocabulary()->getAll();

// Get a specific vocabulary from SiteManager
$siteManager->vocabulary()->getById(1);

// Get a collection of vocabularies by a specific brand from SiteManager
$siteManager->vocabulary()->getByBrandId(1)
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~210 days

Total

4

Last Release

2157d ago

Major Versions

1.2.0 → 2.0.02020-06-12

PHP version history (2 changes)1.0.0PHP &gt;=7.1

2.0.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a3a215b5d0438fc3b691faf171722b3451ad9c7dbae257799d5e4caede6a3fe?d=identicon)[MFlor](/maintainers/MFlor)

![](https://www.gravatar.com/avatar/c85972abf129cb0d5522b069083a4084ef35c680f98642a7caa65fda3a26f23d?d=identicon)[sorenthorup](/maintainers/sorenthorup)

![](https://www.gravatar.com/avatar/42a101ed1d72b4911ddfdc734d53248150271bd5ff6a9272952beca139a0723d?d=identicon)[jonastanz](/maintainers/jonastanz)

---

Top Contributors

[![MFlor](https://avatars.githubusercontent.com/u/3704257?v=4)](https://github.com/MFlor "MFlor (18 commits)")[![186dk](https://avatars.githubusercontent.com/u/21238139?v=4)](https://github.com/186dk "186dk (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[laravel-notification-channels/microsoft-teams

A Laravel Notification Channel for Microsoft Teams

1603.0M7](/packages/laravel-notification-channels-microsoft-teams)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)

PHPackages © 2026

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