Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit 6e537e4

Browse files
committed
Add quick installation guide [skip ci]
1 parent c2ecc9a commit 6e537e4

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,29 @@ in your IDE and other code-analysis tools.
7070

7171
## Installation
7272

73+
### Quick guide
74+
75+
#### Ubuntu
76+
77+
```
78+
$ sudo add-apt-repository -y ppa:ondrej/php
79+
$ sudo add-apt-repository -y ppa:pinepain/php
80+
$ sudo apt-get update -y
81+
$ sudo apt-get install -y php7.0 php-v8
82+
$ php --ri v8
83+
```
84+
85+
#### OS X (homebrew)
86+
87+
```
88+
$ brew tap homebrew/dupes
89+
$ brew tap homebrew/php
90+
$ brew install php70
91+
$ brew install https://raw.githubusercontent.com/pinepain/php-v8/master/scripts/homebrew/v8.rb
92+
$ brew install https://raw.githubusercontent.com/pinepain/php-v8/master/scripts/homebrew/php70-v8.rb
93+
$ php --ri v8
94+
```
95+
7396
### Requirements
7497

7598
#### V8

0 commit comments

Comments
 (0)