Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cspray/yape
Yet Another PHP Enum. A type-safe, object-backed enum in userland PHP.
https://github.com/cspray/yape
Last synced: about 2 months ago
JSON representation
Yet Another PHP Enum. A type-safe, object-backed enum in userland PHP.
- Host: GitHub
- URL: https://github.com/cspray/yape
- Owner: cspray
- License: mit
- Created: 2019-08-13T00:17:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-19T21:42:48.000Z (almost 4 years ago)
- Last Synced: 2024-11-18T07:49:20.444Z (about 2 months ago)
- Language: PHP
- Homepage: https://cspray.io/yape
- Size: 155 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Yet Another PHP Enum (yape)
A type-safe, object-backed enum implemented in userland PHP. Combined with [cspray/yape-cli] aims to provide an easy
way to use enums in your PHP codebase.## Requirements
- PHP 7.2+
## Installation
```shell
composer require cspray/yape
```> We also recommend taking a look at [cspray/yape-cli] and [cspray/yape-dbal].
### Documentation
The library is documented in-repo under the `docs/` folder, online at http://cspray.io/yape, and within the source code
itself.[cspray/yape-cli]: https://github.com/cspray/yape-cli
[cspray/yape-dbal]: https://github.com/cspray/yape-dbal