File tree Expand file tree Collapse file tree 3 files changed +35
-4
lines changed
Expand file tree Collapse file tree 3 files changed +35
-4
lines changed Original file line number Diff line number Diff line change @@ -7,9 +7,7 @@ name: 'Laravel'
77create :
88 - name : Creating new Laravel Application
99 actions :
10- - scripts :
11- - docker pull -q kooldev/php:8.1
12- - kool docker kooldev/php:8.1 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
10+ - recipe : create-laravel
1311
1412# Preset defines the workflow for installing this preset in the current working directory
1513preset :
Original file line number Diff line number Diff line change 1+ title : " Wizard: PHP"
2+
3+ actions :
4+ - prompt : ' Which PHP version do you want to use?'
5+ ref : ' php-version'
6+ default : ' PHP 8.2'
7+ options :
8+ - name : ' PHP 8.3'
9+ actions :
10+ - scripts :
11+ - docker pull -q kooldev/php:8.3
12+ - kool docker kooldev/php:8.3 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
13+ - name : ' PHP 8.2'
14+ actions :
15+ - scripts :
16+ - docker pull -q kooldev/php:8.2
17+ - kool docker kooldev/php:8.2 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
18+ - name : ' PHP 8.1'
19+ actions :
20+ - scripts :
21+ - docker pull -q kooldev/php:8.1
22+ - kool docker kooldev/php:8.1 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
23+ - name : ' PHP 8.0'
24+ actions :
25+ - scripts :
26+ - docker pull -q kooldev/php:8
27+ - kool docker kooldev/php:8 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
28+ - name : ' PHP 7.4'
29+ actions :
30+ - scripts :
31+ - docker pull -q kooldev/php:7.4
32+ - kool docker kooldev/php:7.4 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ title: "Wizard: PHP"
22
33actions :
44 # Defines which app service to use (PHP version)
5- - prompt : ' Which PHP version do you want to use'
5+ - prompt : ' Which PHP version do you want to use?'
6+ ref : ' php-version'
67 default : ' PHP 8.2'
78 options :
89 - name : ' PHP 8.3'
You can’t perform that action at this time.
0 commit comments