Skip to content

Commit 4b88bc6

Browse files
committed
Update PHP requirement to 8.1 and adjust installation instructions.
1 parent da6b5f5 commit 4b88bc6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ DIRECTORY STRUCTURE
3737
REQUIREMENTS
3838
------------
3939

40-
The minimum requirement by this project template that your Web server supports PHP 7.4.
40+
The minimum requirement by this project template that your Web server supports PHP 8.1.
4141

4242

4343
INSTALLATION
@@ -51,14 +51,14 @@ at [getcomposer.org](https://getcomposer.org/doc/00-intro.md#installation-nix).
5151
You can then install this project template using the following command:
5252

5353
~~~
54-
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
54+
composer create-project --prefer-dist yiisoft/yii2-app-basic:22.x.dev basic
5555
~~~
5656

5757
Now you should be able to access the application through the following URL, assuming `basic` is the directory
5858
directly under the Web root.
5959

6060
~~~
61-
http://localhost/basic/web/
61+
http://localhost:8080/basic/web/
6262
~~~
6363

6464
### Install from an Archive File

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"minimum-stability": "dev",
1616
"require": {
1717
"php": ">=8.1.0",
18+
"php-forge/foxy": "^0.1",
1819
"yiisoft/yii2": "22.0.x-dev",
1920
"yiisoft/yii2-bootstrap5": "22.x-dev",
2021
"yiisoft/yii2-symfonymailer": "22.x-dev"
@@ -27,7 +28,6 @@
2728
"codeception/module-filesystem": "^3.0",
2829
"codeception/module-yii2": "^1.1",
2930
"codeception/verify": "^3.0",
30-
"php-forge/foxy": "^0.1",
3131
"symfony/browser-kit": "^6.4|^7.3",
3232
"symfony/process": "^6.4|^7.3",
3333
"yiisoft/yii2-debug": "22.x-dev",

0 commit comments

Comments
 (0)