File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Your web server's PHP version must match your CLI PHP version (|minphpversion|+)
4242
4343Choose the method that best fits your workflow:
4444
45- ### Method 1: Composer (Recommended)
45+ ### Method 1: Using Composer
4646
4747The standard way to install CakePHP:
4848
@@ -65,6 +65,10 @@ composer --version
6565composer --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
7074composer create-project --prefer-dist cakephp/app:~ | cakeversion| my_app_name
@@ -79,16 +83,14 @@ bin/cake server
7983bin/cake server --frankenphp
8084```
8185
82- :::
83-
8486::: tip Version Constraints
8587Your ` 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
9395Perfect for local development environments:
9496
You can’t perform that action at this time.
0 commit comments