ngmy/observer

A PHP library to implement the observer pattern

0.2.0 2021-04-03 10:50 UTC

This package is auto-updated.

Last update: 2024-11-11 20:46:47 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock PHP CI Coverage Status PHPStan Psalm Coverage Psalm Level

PHP Observer is a PHP library to implement the observer pattern.

  • Provides the subject and observer interfaces. This allows you to implement the concrete subject and observer classes

class-diagram

Requirements

PHP Observer has the following requirements:

  • PHP >= 7.3

Installation

Execute the Composer require command:

composer require ngmy/observer

Documentation

Please see the API documentation.

License

PHP Observer is open-sourced software licensed under the MIT license.