Skip to content

Commit 9b62fcd

Browse files
authored
Add note about required PHP version (#63)
1 parent 069efa0 commit 9b62fcd

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

resources/docs/blade/installation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ If you have already [installed PHP and Composer on your local machine](https://h
1212
composer create-project laravel/laravel chirper
1313
```
1414

15+
> **Note**
16+
> You will need a [supported version of PHP](https://www.php.net/supported-versions.php) before continuing. You may check your installation by running the `php -v` command. Alternatively, you may follow the <a href="#docker">instructions for Docker</a>.
17+
1518
After the project has been created, start Laravel's local development server using the Laravel's Artisan CLI serve command:
1619

1720
```none
@@ -31,6 +34,7 @@ For simplicity, you may use SQLite to store your application's data. To instruct
3134
DB_CONNECTION=sqlite
3235
```
3336

37+
<a name="docker"></a>
3438
### Installation via Docker
3539

3640
If you do not have PHP installed locally, you may develop your application using [Laravel Sail](https://laravel.com/docs/sail), a light-weight command-line interface for interacting with Laravel's default Docker development environment, which is compatible with all operating systems. Before we get started, make sure to install [Docker](https://docs.docker.com/get-docker/) for your operating system. For alternative installation methods, check out our full [installation guide](https://laravel.com/docs/installation).

resources/docs/inertia/installation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ If you have already [installed PHP and Composer on your local machine](https://h
1212
composer create-project laravel/laravel chirper
1313
```
1414

15+
> **Note**
16+
> You will need a [supported version of PHP](https://www.php.net/supported-versions.php) before continuing. You may check your installation by running the `php -v` command. Alternatively, you may follow the <a href="#docker">instructions for Docker</a>.
17+
1518
After the project has been created, start Laravel's local development server using the Laravel's Artisan CLI serve command:
1619

1720
```none
@@ -31,6 +34,7 @@ For simplicity, you may use SQLite to store your application's data. To instruct
3134
DB_CONNECTION=sqlite
3235
```
3336

37+
<a name="docker"></a>
3438
### Installation via Docker
3539

3640
If you do not have PHP installed locally, you may develop your application using [Laravel Sail](https://laravel.com/docs/sail), a light-weight command-line interface for interacting with Laravel's default Docker development environment, which is compatible with all operating systems. Before we get started, make sure to install [Docker](https://docs.docker.com/get-docker/) for your operating system. For alternative installation methods, check out our full [installation guide](https://laravel.com/docs/installation).

resources/docs/livewire/installation.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ If you have already [installed PHP and Composer on your local machine](https://h
1212
composer create-project laravel/laravel chirper
1313
```
1414

15+
> **Note**
16+
> You will need a [supported version of PHP](https://www.php.net/supported-versions.php) before continuing. You may check your installation by running the `php -v` command. Alternatively, you may follow the <a href="#docker">instructions for Docker</a>.
17+
1518
After the project has been created, start Laravel's local development server using the Laravel's Artisan CLI serve command:
1619

1720
```none
@@ -31,6 +34,7 @@ For simplicity, you may use SQLite to store your application's data. To instruct
3134
DB_CONNECTION=sqlite
3235
```
3336

37+
<a name="docker"></a>
3438
### Installation via Docker
3539

3640
If you do not have PHP installed locally, you may develop your application using [Laravel Sail](https://laravel.com/docs/sail), a light-weight command-line interface for interacting with Laravel's default Docker development environment, which is compatible with all operating systems. Before we get started, make sure to install [Docker](https://docs.docker.com/get-docker/) for your operating system. For alternative installation methods, check out our full [installation guide](https://laravel.com/docs/installation).

0 commit comments

Comments
 (0)