Download the PHP package stephenjude/enums without Composer
On this page you can find all versions of the php package stephenjude/enums. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stephenjude/enums
More information about stephenjude/enums
Files in stephenjude/enums
Package enums
Short Description Custom Type Enum Constants
License MIT
Homepage https://github.com/stephenjude/enums
Informations about the package enums
Custom Class Constants (Enums)
If you have built a project where you create constants for variables like success
pending
failed
so as to have consistency across your codebase then this package is for you. This constants inludes variables for gateways like paystack
flutterwave
paypal
ETC. This package provides class variables that you can call statistically without instantiating the class. Example: Status::PAYSTACK
Status::FLUTTWAVE
Status::PAYPAL
;
PS: If you have any variable that is not here please make a PR and I will gladly merge it.
Installation
You can install the package via composer:
Usage
All the constants we have defined in this package are grouped into different class-based categories. Lets dive into it:
Status
Gateway
FileType
Currency
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- stephenjude
- All Contributors
License
The MIT License (MIT). Please see License File for more information.