Skip to content

Commit

Permalink
Add setup to readme and add PHP version requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinsFrank committed Jun 8, 2022
1 parent e0b30c7 commit e9e391b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

A collection of standards as PHP Enums

## Setup

> Make sure you are running PHP 8.1 or higher to use this package
To start right away, run the following command in your composer project;

```composer require prinsfrank/standards```

Or for development only;

```composer require prinsfrank/standards --dev```

## Country

### ISO 3166-1 Alpha-2
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"PrinsFrank\\Standards\\Tests\\": "tests/"
}
},
"require": {
"php": "^8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.8",
"phpunit/phpunit": "^9.5"
Expand Down

0 comments on commit e9e391b

Please sign in to comment.