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

Commit e10fc0d

Browse files
author
Seif Kamal
committed
Add installation instructions
1 parent af8faf9 commit e10fc0d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
![](https://github.com/safe-k/struct-array/workflows/Test/badge.svg)
2-
![GitHub license](https://img.shields.io/github/license/safe-k/struct-array)
32

43
# PHP Structured Arrays
54

@@ -16,6 +15,12 @@ In cases like this I find myself itching for a Go/Rust like `struct` instead.
1615

1716
See [doc](docs/use-case.md) for a more in depth discussion.
1817

18+
## Installation
19+
20+
```shell script
21+
composer require safe-k/struct-array
22+
```
23+
1924
## Usage
2025

2126
To define and validate an array data structure, first create a `Struct` - this requires a

0 commit comments

Comments
 (0)