You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 26, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,5 +3,31 @@
3
3
Enumerated type for PHP by [Petr Knap].
4
4
5
5
6
+
## What is enum?
7
+
8
+
### Usage of php-enum
9
+
10
+
```php
11
+
// TODO make example
12
+
```
13
+
14
+
15
+
## How to install
16
+
17
+
Run `composer require petrknap/php-enum` or merge this JSON code with your project `composer.json` file manually and run `composer install`. Instead of `dev-master` you can use [one of released versions].
18
+
19
+
```json
20
+
{
21
+
"require": {
22
+
"petrknap/php-enum": "dev-master"
23
+
}
24
+
}
25
+
```
26
+
27
+
Or manually clone this repository via `git clone https://github.com/petrknap/php-enum.git` or download [this repository as ZIP] and extract files into your project.
28
+
29
+
6
30
7
31
[Petr Knap]:http://petrknap.cz/
32
+
[one of released versions]:https://github.com/petrknap/php-enum/releases
33
+
[this repository as ZIP]:https://github.com/petrknap/php-enum/archive/master.zip
0 commit comments