File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 77
88This small package can represent a enumeration field. For example in a database or an api.
99
10- Featureslist:
10+ ** Featureslist:**
1111* inspired and mostly used for MySQL enum-fields or API enum-fields
1212* it is a simple string representation
1313* no other values are allow besides the defined in the class
@@ -19,9 +19,9 @@ Featureslist:
1919## Install
2020
2121Basic install via composer
22- ```
23- " freshp/php-enumeration"": "3.1.0"
24- ```
22+ ```
23+ composer require freshp/php-enumeration
24+ ```
2525
2626## Usage
2727
@@ -97,6 +97,11 @@ class EnumExample extends Enum
9797## Checks
9898Run each command in the project root directory.
9999
100+ run all check with composer script
101+ ```
102+ composer quickcheck
103+ ```
104+
100105### Execute PHPUnit tests
101106```
102107./vendor/bin/phpunit.phar --testdox
You can’t perform that action at this time.
0 commit comments