Skip to content

Commit 735d613

Browse files
authored
Merge pull request #8244 from cakephp/create-project
Move "create project" step out of tabbed display
2 parents a34c4bd + 1ed18a4 commit 735d613

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/en/installation.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Your web server's PHP version must match your CLI PHP version (|minphpversion|+)
4242

4343
Choose the method that best fits your workflow:
4444

45-
### Method 1: Composer (Recommended)
45+
### Method 1: Using Composer
4646

4747
The standard way to install CakePHP:
4848

@@ -65,6 +65,10 @@ composer --version
6565
composer --version
6666
```
6767

68+
:::
69+
70+
Now you can create a new CakePHP project:
71+
6872
```bash [Create Project]
6973
# Create a new CakePHP 5 application
7074
composer create-project --prefer-dist cakephp/app:~|cakeversion| my_app_name
@@ -79,16 +83,14 @@ bin/cake server
7983
bin/cake server --frankenphp
8084
```
8185

82-
:::
83-
8486
::: tip Version Constraints
8587
Your `composer.json` version constraint controls updates:
8688

8789
- `"cakephp/cakephp": "|cakeversion|.*"` - Patch releases only (recommended)
8890
- `"cakephp/cakephp": "^|cakeversion|"` - Minor + patch releases (may require config changes)
8991
:::
9092

91-
### Method 2: DDEV (Fast Setup)
93+
### Method 2: Using DDEV + Composer
9294

9395
Perfect for local development environments:
9496

0 commit comments

Comments
 (0)