PHPackages                             techinasia/laravel-stream - 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. techinasia/laravel-stream

ActiveLibrary

techinasia/laravel-stream
=========================

Stream bridge for Laravel 5.

v1.0.0(9y ago)1231MITPHPPHP &gt;=5.5.9

Since Feb 6Pushed 9y ago15 watchersCompare

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

READMEChangelogDependencies (7)Versions (2)Used By (1)

Laravel Stream
==============

[](#laravel-stream)

[![Dependency Status](https://camo.githubusercontent.com/6948bf355b1c8d3933e9e75fb163a837c774be2cc88d61c1d27e11152c8a9f50/68747470733a2f2f67656d6e617369756d2e636f6d2f74656368696e617369612f6c61726176656c2d73747265616d2e737667)](https://gemnasium.com/techinasia/laravel-stream)[![Build Status](https://camo.githubusercontent.com/fab7af4f696ba0656656451ef8effbddead0e22cd28e9a8313e39f56a71df903/68747470733a2f2f7472617669732d63692e6f72672f74656368696e617369612f6c61726176656c2d73747265616d2e737667)](https://travis-ci.org/techinasia/laravel-stream)[![Coverage Status](https://camo.githubusercontent.com/c64ffa1e3165b470596a058c03f70bb20e137d6535cc532b79b83d99dd0ec372/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f74656368696e617369612f6c61726176656c2d73747265616d2f62616467652e737667)](https://coveralls.io/github/techinasia/laravel-stream)[![StyleCI Status](https://camo.githubusercontent.com/c38935c6f2771f284c5bfa3023c4457aeda46457d7af20867b8ffe5911440397/68747470733a2f2f7374796c6563692e696f2f7265706f732f37353932383234332f736869656c64)](https://styleci.io/repos/75928243)

> [Stream.io](https://getstream.io) bridge for [Laravel 5](http://laravel.com/).

Contents
--------

[](#contents)

- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

Features
--------

[](#features)

- Wrapper for [Stream's](https://getstream.io) low-level PHP client.
- Multiple applications support.
- Laravel facade for client.

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

[](#installation)

Install this package with Composer:

```
composer require techinasia/laravel-stream
```

Register the service provider in your `config/app.php`:

```
Techinasia\GetStream\StreamServiceProvider::class
```

\[Optional\] Register the facade in your `config/app.php`, under `aliases`:

```
'Stream' => Techinasia\GetStream\Facades\Stream::class
```

Configuration
-------------

[](#configuration)

Publish all the vendor assets:

```
php artisan vendor:publish
```

This will create a file called `stream.php` in the `config` folder. Create an application via [Stream's](https://getstream.io) admin interface and copy the API key and secret to the configuration file.

You can add more applications by adding more key/secret pairs to the configuration file:

```
'applications' => [
    'main' => [
        'key' => 'key1',
        'secret' => 'secret1',
    ],
    'foo' => [
        'key' => 'foo',
        'secret' => 'bar',
    ],
],
```

Examples
--------

[](#examples)

```
use Techinasia\GetStream\Facades\Stream;

// Add an activity to a user feed via the default application.
$feed = Stream::feed('user', 1);
$feed->addActivity([
    'actor' => 1,
    'verb' => 'like',
    'object' => 3,
    'foreign_id' => 'post:42',
]);

// Add another activity to a user feed via another application.
$feed = Stream::application('another')->feed('user', 1);
$feed->addActivity([
    'actor' => 1,
    'verb' => 'like',
    'object' => 3,
    'foreign_id' => 'post:42',
]);
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information for what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issues tracker.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3381d ago

### Community

Maintainers

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

---

Top Contributors

[![zyml](https://avatars.githubusercontent.com/u/1495648?v=4)](https://github.com/zyml "zyml (13 commits)")

---

Tags

getstreamlaravelphpstreamlaravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/techinasia-laravel-stream/health.svg)

```
[![Health](https://phpackages.com/badges/techinasia-laravel-stream/health.svg)](https://phpackages.com/packages/techinasia-laravel-stream)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M225](/packages/laravel-horizon)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

3786.5k](/packages/harris21-laravel-fuse)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[dragon-code/laravel-cache

An improved interface for working with cache

6844.8k10](/packages/dragon-code-laravel-cache)

PHPackages © 2026

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