-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #492 from kool-dev/presets-updates
PHP Presets tweaks + add php 8.3
- Loading branch information
Showing
9 changed files
with
123 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
title: "Creating Laravel Application" | ||
|
||
actions: | ||
- prompt: 'Which PHP version do you want to use?' | ||
ref: 'php-version' | ||
default: 'PHP 8.2' | ||
options: | ||
- name: 'PHP 8.3' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8.3 | ||
- kool docker kooldev/php:8.3 composer create-project --no-install --no-scripts --prefer-dist codeigniter4/appstarter $CREATE_DIRECTORY | ||
- name: 'PHP 8.2' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8.2 | ||
- kool docker kooldev/php:8.2 composer create-project --no-install --no-scripts --prefer-dist codeigniter4/appstarter $CREATE_DIRECTORY | ||
- name: 'PHP 8.1' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8.1 | ||
- kool docker kooldev/php:8.1 composer create-project --no-install --no-scripts --prefer-dist codeigniter4/appstarter $CREATE_DIRECTORY | ||
- name: 'PHP 8.0' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8 | ||
- kool docker kooldev/php:p:8 composer create-project --no-install --no-scripts --prefer-dist codeigniter4/appstarter $CREATE_DIRECTORY | ||
- name: 'PHP 7.4' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:7.4 | ||
- kool docker kooldev/php:7.4 composer create-project --no-install --no-scripts --prefer-dist codeigniter4/appstarter $CREATE_DIRECTORY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
title: "Creating Laravel Application" | ||
|
||
actions: | ||
- prompt: 'Which PHP version do you want to use?' | ||
ref: 'php-version' | ||
default: 'PHP 8.2' | ||
options: | ||
- name: 'PHP 8.3' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8.3 | ||
- kool docker kooldev/php:8.3 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY | ||
- name: 'PHP 8.2' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8.2 | ||
- kool docker kooldev/php:8.2 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY | ||
- name: 'PHP 8.1' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8.1 | ||
- kool docker kooldev/php:8.1 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY | ||
- name: 'PHP 8.0' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8 | ||
- kool docker kooldev/php:8 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY | ||
- name: 'PHP 7.4' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:7.4 | ||
- kool docker kooldev/php:7.4 composer create-project --no-install --no-scripts --prefer-dist laravel/laravel $CREATE_DIRECTORY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
title: "Creating Symfony Application" | ||
|
||
actions: | ||
- prompt: 'Which PHP version do you want to use?' | ||
ref: 'php-version' | ||
default: 'PHP 8.2' | ||
options: | ||
- name: 'PHP 8.3' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8.3 | ||
- kool docker kooldev/php:8.3 composer create-project --no-install --prefer-dist symfony/website-skeleton $CREATE_DIRECTORY | ||
- name: 'PHP 8.2' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8.2 | ||
- kool docker kooldev/php:8.2 composer create-project --no-install --prefer-dist symfony/website-skeleton $CREATE_DIRECTORY | ||
- name: 'PHP 8.1' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8.1 | ||
- kool docker kooldev/php:8.1 composer create-project --no-install --prefer-dist symfony/website-skeleton $CREATE_DIRECTORY | ||
- name: 'PHP 8.0' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:8 | ||
- kool docker kooldev/php:p:8 composer create-project --no-install --prefer-dist symfony/website-skeleton $CREATE_DIRECTORY | ||
- name: 'PHP 7.4' | ||
actions: | ||
- scripts: | ||
- docker pull -q kooldev/php:7.4 | ||
- kool docker kooldev/php:7.4 composer create-project --no-install --prefer-dist symfony/website-skeleton $CREATE_DIRECTORY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
title: "PHP 8.3" | ||
|
||
actions: | ||
- merge: app/php83.yml | ||
dst: docker-compose.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
services: | ||
app: | ||
image: kooldev/php:8.3-nginx | ||
ports: | ||
- "${KOOL_APP_PORT:-80}:80" | ||
environment: | ||
ASUSER: "${KOOL_ASUSER:-0}" | ||
UID: "${UID:-0}" | ||
volumes: | ||
- .:/app:delegated | ||
networks: | ||
- kool_local | ||
- kool_global |