PHPackages                             koomai/constants - 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. koomai/constants

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

koomai/constants
================

An easy and clean way to manage application-level global constants

v1.2.0(7y ago)26.6k1MITPHPPHP &gt;=7.0.0

Since Dec 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/koomai/constants)[ Packagist](https://packagist.org/packages/koomai/constants)[ Docs](https://github.com/laravel-notification-channels/:package_name)[ RSS](/packages/koomai-constants/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (1)

DEPRECATED!
===========

[](#deprecated)

This package has been deprecated. Check out the following packages:

-
-

Constants
=========

[](#constants)

Constants is a helper package for validating and retrieving application-level global constants/enums.

[![Build Status](https://camo.githubusercontent.com/f3034b6e816981e24fc6bafa58dbf7e91f23099dda80802ec6b7570afa344c75/68747470733a2f2f7472617669732d63692e6f72672f6b6f6f6d61692f636f6e7374616e74732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/koomai/constants)[![StyleCI](https://camo.githubusercontent.com/26d76afe399e2f5306bcc9792c69b0baf153d58ea0ad917086a22ad9cc4b0033/68747470733a2f2f7374796c6563692e696f2f7265706f732f3131333835373734392f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/113857749)

Contents
--------

[](#contents)

- [Installation](#installation)
- [Usage](#usage)
- [Changelog](#changelog)
- [Testing](#testing)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

`composer require koomai/constants:^1.0`

Usage
-----

[](#usage)

1. Simply extend your class from `Koomai\Constants\Constants` and define your constants. E.g.,

```
