Skip to content

micropackage/singleton

Repository files navigation

Singleton

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.