13 Commits

Author SHA1 Message Date
google-labs-jules[bot]
a3e458a5fa feat: Enable local PHP setup outside GitHub Actions
This commit introduces a mechanism to use the setup-php scripts for configuring PHP environments on local Linux/Ubuntu machines.

Key changes:
- Added `src/local_installer.ts`: A Node.js script that takes command-line arguments to define the desired PHP setup (version, extensions, tools, INI settings) and generates a `run.sh` script.
- Added `src/local_utils.ts`: A utility module with functions adapted for local execution, removing dependencies on `@actions/core`. It supports fetching inputs from yargs/environment variables.
- Modified `src/fetch.ts`: Replaced `@actions/http-client` with `node-fetch` for compatibility.
- Updated `src/config.ts`, `src/coverage.ts`, `src/extensions.ts`, and `src/tools.ts` to import utilities from `local_utils.ts` instead of `utils.ts`.
- Added `LOCAL_SETUP_INSTRUCTIONS.md`: Comprehensive documentation on prerequisites, how to run the local installer, command-line options, and troubleshooting.

This allows users to leverage the robust PHP environment configuration capabilities of this project directly on their development machines.
2025-06-24 06:07:03 +00:00
Shivam Mathur
cad2a1bda3
Rename os_version => os 2022-01-29 05:29:58 +05:30
Shivam Mathur
d74064b67a
Fix setting xdebug.mode 2020-12-17 21:08:00 +05:30
Shivam Mathur
f0fb8731a5
Update ini files for all available SAPI 2020-12-02 05:50:56 +05:30
Shivam Mathur
52691651dc
Add support for Xdebug3 on stable PHP 2020-06-22 07:33:14 +05:30
Shivam Mathur
08c60fceea
Fix to use correct $php_dir 2020-05-17 04:16:39 +05:30
Shivam Mathur
d10d1e249b
Bump version to 2.2.0 2020-05-13 07:12:42 +05:30
Shivam Mathur
67f23b6380
Improve code quality 2020-03-14 14:57:21 +05:30
Shivam Mathur
de32d8b95f
Add tools support 2019-12-27 13:11:17 +05:30
Shivam Mathur
3f6c88dec7
Improve workflow and lint the code 2019-11-24 02:38:52 +05:30
Shivam Mathur
a6aaa1db78
Improve Logs and tests 2019-10-17 21:39:01 +05:30
Shivam Mathur
e755fb7a69
Refactor installation scripts 2019-10-11 12:48:49 +05:30
Shivam Mathur
46a875ad7e
Improve code and examples 2019-10-08 18:31:45 +05:30