Skip to content

Commit e5c91d8

Browse files
authored
Merge pull request microsoft#321 from yanmii-is/master
docs/GettingStarted: Update instructions
2 parents 8786bf0 + daa2368 commit e5c91d8

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

docs/GettingStarted.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
# Getting Started
22

3-
## Set up your PHP Environment (PHP 7.1 and Composer)
3+
## Set up your PHP Environment (PHP 7.2 and Composer)
44
Any version of PHP 7 should work, but as we are still in our early
5-
stages, the "golden path" for now will be PHP 7.1
5+
stages, the "golden path" for now will be PHP 7.2
66

77
### Windows
8-
1. Download [PHP 7.1](http://windows.php.net/download#php-7.1)
8+
1. Download [PHP 7.2](http://windows.php.net/download#php-7.2)
99
2. Download and install [Composer](https://getcomposer.org/download/)
1010

1111
Ensure your version of PHP is properly configured by running `php -v` in the command prompt.
12-
If it's not PHP 7.1, then you have a few different options for how to access it:
13-
1. reference it directly: `c:\PHP7.1\php.exe -v`
12+
If it's not PHP 7.2, then you have a few different options for how to access it:
13+
1. reference it directly: `c:\PHP7.2\php.exe -v`
1414
2. Prepend the directory to your system `PATH`
15-
3. create an alias using `doskey`: `doskey php7="C:\PHP7.1\php.exe" $*`
15+
3. create an alias using `doskey`: `doskey php7="C:\PHP7.2\php.exe" $*`
1616

1717
### Mac
1818
1. Install [Homebrew](http://brew.sh/)
19-
2. Install PHP 7.1 and Composer
19+
2. Install PHP 7.2 and Composer
2020
```
21-
brew install php@7.1
21+
brew install php@7.2
2222
brew install composer
2323
```
2424

25-
Ensure your version of PHP is properly configured by running `php -v`.
25+
Ensure your version of PHP is properly configured by running `php -v`.
2626
If it's not PHP7, then you have a few different options for how to access it:
27-
1. reference it directly: `/usr/local/Cellar/php71/7.1.0_11/bin/php -v`
28-
2. alias it in your `~/.bash_profile`: `alias php7=/usr/local/Cellar/php71/7.1.0_11/bin/php`
27+
1. reference it directly: `/usr/local/Cellar/php@7.2/7.2.30/bin/php -v`
28+
2. alias it in your `~/.bash_profile`: `alias php7=/usr/local/Cellar/php@7.2/7.2.30/bin/php`
2929
3. add it to your PATH in `~/.bash_profile`: `export PATH="/usr/local/sbin:$PATH"`
3030

3131
## Reference `tolerant-php-parser` from your PHP project
@@ -40,11 +40,11 @@ In your project's `composer.json`, specify the `minimum-stability`,
4040
"repositories": [
4141
{
4242
"type": "git",
43-
"url": "https://github.com/Microsoft/tolerant-php-parser.git"
43+
"url": "https://github.com/microsoft/tolerant-php-parser.git"
4444
}
4545
],
4646
"require": {
47-
"Microsoft/tolerant-php-parser": "master"
47+
"microsoft/tolerant-php-parser": "master"
4848
}
4949
}
5050
```

0 commit comments

Comments
 (0)