Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 9510751

Browse files
committed
Update README.md
1 parent 15f596b commit 9510751

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,31 @@
33
Enumerated type for PHP by [Petr Knap].
44

55

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+
630

731
[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

Comments
 (0)