PHPackages                             starlit/observable - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. starlit/observable

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

starlit/observable
==================

An implementation of the SplSubject interface.

1.0.0(7y ago)142.5k↓46.2%1BSD-3-ClausePHPPHP &gt;=7.1

Since Mar 31Pushed 7y ago5 watchersCompare

[ Source](https://github.com/starweb/starlit-observable)[ Packagist](https://packagist.org/packages/starlit/observable)[ Docs](http://github.com/starweb/starlit-observable)[ RSS](/packages/starlit-observable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (0)

Observable
==========

[](#observable)

[![Build Status](https://camo.githubusercontent.com/d9bbbd7bb7ebecd1a136455e9e84cf0c0ef6d4d0a7f76700bdcb9aee3b76ded4/68747470733a2f2f7472617669732d63692e6f72672f737461727765622f737461726c69742d6f627365727661626c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/starweb/starlit-observable)[![Code Coverage](https://camo.githubusercontent.com/90debf84e8fa257c08fd17db83ce4cb485ba153a59b07f52c61eaaea7fa1f60a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f737461727765622f737461726c69742d6f627365727661626c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/starweb/starlit-observable/?branch=master)

An implementation of the SplSubject interface . Use together with SplObserver to implement the observer design pattern.

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

[](#installation)

Add the package as a requirement to your `composer.json`:

```
$ composer require starlit/observable
```

\##Requirements

- Requires PHP 7.1 or above.

\##License This software is licensed under the BSD 3-Clause License - see the `LICENSE` file for details.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~1081 days

Total

2

Last Release

2618d ago

Major Versions

0.1.0 → 1.0.02019-03-18

PHP version history (2 changes)0.1.0PHP &gt;=5.4

1.0.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/056004544ffa6a7f46df1e557d182fa9f203a577498d53c8b40a58b0c012d8f7?d=identicon)[felixsand](/maintainers/felixsand)

![](https://www.gravatar.com/avatar/16f1a44ef1aad061d0413f160b8017d5b5b4798ab0c204a35fbb2f6c5fe09f33?d=identicon)[henrikjonsson](/maintainers/henrikjonsson)

---

Top Contributors

[![andreasnij](https://avatars.githubusercontent.com/u/1712334?v=4)](https://github.com/andreasnij "andreasnij (2 commits)")

---

Tags

observerobservableSplSubject

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/starlit-observable/health.svg)

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

###  Alternatives

[jbzoo/event

Library for event-based development

29760.0k5](/packages/jbzoo-event)[akaunting/laravel-mutable-observer

Mutable observer package for Laravel

11173.5k](/packages/akaunting-laravel-mutable-observer)[mckenziearts/laravel-command

A simple Laravel package to provide artisan new commands

321.2k](/packages/mckenziearts-laravel-command)

PHPackages © 2026

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