You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-45Lines changed: 25 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,7 @@ with:
143
143
144
144
- Extensions which cannot be added or removed gracefully leave an error message in the logs, the action is not interrupted.
145
145
146
-
- These extensions have custom support - `gearman` on `Ubuntu`, `blackfire`, `ioncube`, `oci8`, `pdo_oci`, `phalcon3` and `phalcon4` on all supported OS.
146
+
- These extensions have custom support - `cubrid`, `pdo_cubrid` and `gearman` on `Ubuntu`, and `blackfire`, `ioncube`, `oci8`, `pdo_oci`, `phalcon3` and `phalcon4` on all supported OS.
147
147
148
148
## :wrench: Tools Support
149
149
@@ -178,7 +178,7 @@ with:
178
178
```
179
179
180
180
**Notes**
181
-
- Both agent `blackfire-agent` and client `blackfire` are setup when `blackfire` is specified in tools input.
181
+
- Latest versions of both agent `blackfire-agent` and client `blackfire` are setup when `blackfire` is specified in tools input.
182
182
- Tools which cannot be setup gracefully leave an error message in the logs, the action is not interrupted.
183
183
184
184
## :signal_strength: Coverage Support
@@ -455,45 +455,8 @@ To debug any issues, you can use the `verbose` tag instead of `v2`.
455
455
456
456
### Cache Extensions
457
457
458
-
You can cache PHP extensions using [`shivammathur/cache-extensions`](https://github.com/shivammathur/cache-extensions "GitHub Action to cache php extensions") and [`action/cache`](https://github.com/actions/cache "GitHub Action to cache files") GitHub Actions. Extensions which take very long to setup when cached are available in the next workflow run and are enabled directly. This reduces the workflow execution time.
name: PHP ${{ matrix.php-versions }} Test on ${{ matrix.operating-system }}
467
-
env:
468
-
extensions: intl, pcov
469
-
key: cache-v1 # can be any string, change to clear the extension cache.
470
-
steps:
471
-
- name: Checkout
472
-
uses: actions/checkout@v2
473
-
474
-
- name: Setup cache environment
475
-
id: extcache
476
-
uses: shivammathur/cache-extensions@v1
477
-
with:
478
-
php-version: ${{ matrix.php-versions }}
479
-
extensions: ${{ env.extensions }}
480
-
key: ${{ env.key }}
481
-
482
-
- name: Cache extensions
483
-
uses: actions/cache@v2
484
-
with:
485
-
path: ${{ steps.extcache.outputs.dir }}
486
-
key: ${{ steps.extcache.outputs.key }}
487
-
restore-keys: ${{ steps.extcache.outputs.key }}
488
-
489
-
- name: Setup PHP
490
-
uses: shivammathur/setup-php@v2
491
-
with:
492
-
php-version: ${{ matrix.php-versions }}
493
-
extensions: ${{ env.extensions }}
494
-
```
495
-
496
-
**Note:** If you setup both `TS` and `NTS` PHP versions on `windows`, add `${{ env.phpts }}` to `key` and `restore-keys` inputs in `actions/cache` step.
458
+
You can cache PHP extensions using `shivammathur/cache-extensions` and `action/cache` GitHub Actions. Extensions which take very long to setup when cached are available in the next workflow run and are enabled directly. This reduces the workflow execution time.
459
+
Refer to [`shivammathur/cache-extensions`](https://github.com/shivammathur/cache-extensions "GitHub Action to cache php extensions") for details.
497
460
498
461
### Cache Composer Dependencies
499
462
@@ -646,9 +609,23 @@ Examples of using `setup-php` with various PHP Frameworks and Packages.
646
609
647
610
## :sparkling_heart: Support This Project
648
611
649
-
If this action helped you.
612
+
**Thanks for supporting this project**
650
613
651
-
- Sponsor the project by subscribing on [Patreon](https://www.patreon.com/shivammathur "Shivam Mathur Patreon") or by contributing using [Paypal](https://www.paypal.me/shivammathur "Shivam Mathur PayPal"). This project is also available as part of the [Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-setup-php?utm_source=npm-setup-php&utm_medium=referral&utm_campaign=enterprise&utm_term=repo "Tidelift Subscription for setup-php") to support delivering enterprise-level maintenance.
- Sponsor the project by contributing using [Paypal](https://www.paypal.me/shivammathur "Shivam Mathur PayPal") or by subscribing on [Patreon](https://www.patreon.com/shivammathur "Shivam Mathur Patreon").
627
+
- If you have an open-source support program, please [contact](mailto:[email protected]) to sponsor this project.
628
+
- This project is also available as part of the [Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-setup-php?utm_source=npm-setup-php&utm_medium=referral&utm_campaign=enterprise&utm_term=repo "Tidelift Subscription for setup-php") to support delivering enterprise-level maintenance.
652
629
- Please star the project and dependencies. If you blog, please share your experience of using this action with the community.
653
630
654
631
## :package: Dependencies
@@ -658,9 +635,12 @@ If this action helped you.
658
635
- [mlocati/powershell-phpmanager](https://github.com/mlocati/powershell-phpmanager "Package to handle PHP on windows")
659
636
- [ppa:ondrej/php](https://launchpad.net/~ondrej/+archive/ubuntu/php "Packaging active PHP packages")
660
637
- [shivammathur/cache-extensions](https://github.com/shivammathur/cache-extensions "GitHub action to help with caching PHP extensions")
661
-
- [shivammathur/homebrew-php](https://github.com/shivammathur/homebrew-php "Tap for PHP builds on MacOS")
0 commit comments