Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/logos/testbench.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ All of it is data. None of it ships in the binary.
| <img src=".github/logos/statamic.svg" width="28" height="28" alt=""> | **Statamic** | `6` `5` `4` `3` | `statamic/cms` in composer.json |
| <img src=".github/logos/symfony.svg" width="28" height="28" alt=""> | **Symfony** | `8` `7` `6` `5` `4` | `symfony.lock` file or `symfony/framework-bundle` in composer.json |
| <img src=".github/logos/tempest.svg" width="28" height="28" alt=""> | **Tempest** | `3` | `tempest` file or `tempest/framework` in composer.json |
| <img src=".github/logos/testbench.svg" width="28" height="28" alt=""> | **Testbench** | `11` | `testbench.yaml` file (a Laravel package served from its Orchestra Testbench workbench) |
| <img src=".github/logos/typo3.svg" width="28" height="28" alt=""> | **TYPO3** | `14` `13` `12` `11` `10` | `typo3/cms-core` in composer.json or `public/typo3` directory |
| <img src=".github/logos/winter.svg" width="28" height="28" alt=""> | **Winter CMS** | `1` | `winter/wn-system-module` in composer.json |
| <img src=".github/logos/wordpress.svg" width="28" height="28" alt=""> | **WordPress** | `7` `6` `5` | `wp-login.php` file or `wp-config.php` file |
Expand Down
9 changes: 9 additions & 0 deletions frameworks/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,15 @@
"detect": [
{"composer": "yiisoft/yii2"}
]
},
{
"name": "testbench",
"label": "Testbench",
"versions": ["11"],
"latest": "11",
"detect": [
{"file": "testbench.yaml"}
]
}
],
"packages": [
Expand Down
1 change: 1 addition & 0 deletions frameworks/testbench.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
47 changes: 47 additions & 0 deletions frameworks/testbench/11.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# A Laravel package developed with Orchestra Testbench and served from its
# workbench. Testbench boots its own Laravel skeleton from vendor/ and takes its
# environment from testbench.yaml (SQLite unless the package says otherwise), so
# lerd neither writes an env file nor wires services for it.
name: testbench
version: "11"
label: Testbench
color: "#475569"
public_dir: vendor/orchestra/testbench-core/laravel/public

# The skeleton finds the package's vendor through TESTBENCH_WORKING_PATH, which
# testbench serve sets; testbench removes the vendor symlink it would otherwise use.
nginx:
fastcgi_params:
TESTBENCH_WORKING_PATH: "{{root}}"

php:
min: "8.3"
max: "8.5"

detect:
- file: testbench.yaml

composer: true
npm: auto
console: vendor/bin/testbench

logs:
- path: vendor/orchestra/testbench-core/laravel/storage/logs/*.log
format: monolog

setup:
# The skeleton's public/index.php reads the package's testbench.yaml from its
# bootstrap cache, which testbench writes when it discovers packages.
- label: Discover packages
command: php vendor/bin/testbench package:discover --ansi
default: true
- label: Build the workbench
command: php vendor/bin/testbench workbench:build --ansi
default: false

commands:
- name: workbench:build
label: Build the workbench
command: php vendor/bin/testbench workbench:build --ansi
output: silent
icon: hammer
Loading