PHPackages                             skiftet/speakout-api-client - 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. skiftet/speakout-api-client

ActiveLibrary[API Development](/categories/api)

skiftet/speakout-api-client
===========================

3.0.0(11mo ago)0287MITPHPPHP ^8.3CI failing

Since Apr 14Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/Skiftet/php-speakout-api)[ Packagist](https://packagist.org/packages/skiftet/speakout-api-client)[ RSS](/packages/skiftet-speakout-api-client/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (19)Used By (0)

### Installation

[](#installation)

Run `composer require skiftet/speakout-api-client` in your project root to install the package.

### Usage

[](#usage)

#### NOTE: The api currently only works with an in-development version of the Speakout api that isn't released yet

[](#note-the-api-currently-only-works-with-an-in-development-version-of-the-speakout-api-that-isnt-released-yet)

```
use Skiftet\Speakout\Api\Client as Speakout;

$speakout = new Speakout([
    'endpoint' => '', // Set this to the url of a running Speakout deployment. E.g. 'http://localhost:3000'
    'user'     => '', // The username of a Speakout user
    'password' => '', // The correponding password
]);

/**
 * This will load request an array with all campaigns
 */
$campaigns = $speakout->campaigns()->all();

/**
 * This will request an array with all campaigns, sorted by action count
 */
$campaigns = $speakout->campaigns()->orderBy('actions')->get();

/**
 * You can also do nested queries for deeper filters. The example below will only
 * take actions since the 1st of March 2017 into account.
 */
$campaigns = $speakout->campaigns()->orderBy('actions')->has('actions', function (Query $query) {
    return $query->since('2017-03-01'); // this can also be an instance of \DateTime
})->get();
```

### TODO

[](#todo)

- Implement creating new actions
- Hydrated models
- Decide whether to use active record or data mapper pattern for models
- Lazy loading model relationships

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance52

Moderate activity, may be stable

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 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.

###  Release Activity

Cadence

Every ~178 days

Recently: every ~266 days

Total

18

Last Release

334d ago

Major Versions

1.1.1 → 2.02017-04-16

2.3.3 → 3.0.02025-07-30

PHP version history (4 changes)1.0PHP ^7.0

2.0.3PHP ^7.1

2.3.1PHP ^7.4

3.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6786740?v=4)[Joel Ekström Svensson](/maintainers/JoelESvensson)[@JoelESvensson](https://github.com/JoelESvensson)

---

Top Contributors

[![JoelESvensson](https://avatars.githubusercontent.com/u/6786740?v=4)](https://github.com/JoelESvensson "JoelESvensson (30 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/skiftet-speakout-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/skiftet-speakout-api-client/health.svg)](https://phpackages.com/packages/skiftet-speakout-api-client)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.5M923](/packages/statamic-cms)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[smodav/mpesa

M-Pesa API implementation

16167.1k1](/packages/smodav-mpesa)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)[jasara/php-amzn-selling-partner-api

A fluent interface for Amazon's Selling Partner API in PHP

1348.1k1](/packages/jasara-php-amzn-selling-partner-api)

PHPackages © 2026

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