tomsihap / magic-numberer
Collection of integers to use without magic number !
dev-main
2024-06-21 14:51 UTC
Requires (Dev)
- phpunit/phpunit: ^11
This package is auto-updated.
Last update: 2025-04-21 16:33:16 UTC
README
Magic Numberer is a simple PHP library that provides an enum of a lot of different integers of your choice, allowing you to troll with PHPMND 🤡.
Installation
composer require tomsihap/magic-numberer
Usage
<?php require_once __DIR__ . '/vendor/autoload.php'; use MagicNumberer\MagicNumberer; $answerToTheUltimateQuestionOfLifeTheUniverseAndEverything = MagicNumberer::SIX * MagicNumberer::SEVEN;
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Some integers are missing, feel free to add as many as you want.