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

Commit 610014b

Browse files
author
Petr Knap
committed
Updated How to install section
1 parent a853f41 commit 610014b

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

README.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -134,21 +134,10 @@ if (date('w') == DayOfWeekEnum::FRIDAY()->getValue()) {
134134

135135
## How to install
136136

137-
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].
138-
139-
```json
140-
{
141-
"require": {
142-
"petrknap/php-enum": "dev-master"
143-
}
144-
}
145-
```
146-
147-
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.
137+
Run `composer require petrknap/php-enum` in your project directory. 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.
148138

149139

150140

151141
[Petr Knap]:http://petrknap.cz/
152142
[Enumerated type - Wikipedia, The Free Encyclopedia]:https://en.wikipedia.org/w/index.php?title=Enumerated_type&oldid=701057934
153-
[one of released versions]:https://github.com/petrknap/php-enum/releases
154143
[this repository as ZIP]:https://github.com/petrknap/php-enum/archive/master.zip

0 commit comments

Comments
 (0)