Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koomai/constants
[Deprecated] Validate and retrieve your application-level global constants
https://github.com/koomai/constants
composer-package constants laravel-package php php-packages php7
Last synced: 3 months ago
JSON representation
[Deprecated] Validate and retrieve your application-level global constants
- Host: GitHub
- URL: https://github.com/koomai/constants
- Owner: koomai
- License: mit
- Archived: true
- Created: 2017-12-11T12:42:31.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-06T00:41:12.000Z (over 5 years ago)
- Last Synced: 2024-09-25T20:09:47.323Z (3 months ago)
- Topics: composer-package, constants, laravel-package, php, php-packages, php7
- Language: PHP
- Homepage:
- Size: 21.5 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# DEPRECATED!
This package has been deprecated. Check out the following packages:
- https://github.com/myclabs/php-enum
- https://github.com/BenSampo/laravel-enum# Constants
Constants is a helper package for validating and retrieving application-level global constants/enums.
[![Build Status](https://travis-ci.org/koomai/constants.svg?branch=master)](https://travis-ci.org/koomai/constants)
[![StyleCI](https://styleci.io/repos/113857749/shield?branch=master)](https://styleci.io/repos/113857749)## Contents
- [Installation](#installation)
- [Usage](#usage)
- [Changelog](#changelog)
- [Testing](#testing)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)## Installation
`composer require koomai/constants:^1.0`
## Usage
1. Simply extend your class from `Koomai\Constants\Constants` and define your constants. E.g.,
```