micropackage/singleton

Singleton implementation

1.1.1 2022-01-25 19:59 UTC

This package is auto-updated.

Last update: 2024-03-23 10:29:18 UTC


README

BracketSpace Micropackage Latest Stable Version PHP from Packagist Total Downloads License

Micropackage logo

💾 Installation

composer require micropackage/singleton

🕹 Usage

use Micropackage\Singleton\Singleton;

class Example extends Singleton {}

Example::get();

📦 About the Micropackage project

Micropackages - as the name suggests - are micro packages with a tiny bit of reusable code, helpful particularly in WordPress development.

The aim is to have multiple packages which can be put together to create something bigger by defining only the structure.

Micropackages are maintained by BracketSpace.

📖 Changelog

See the changelog file.

📃 License

This software is released under MIT license. See the LICENSE file for more information.