mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
feat: add one line install script (#594)
* (feat) adds install.sh CI that auto downloads bin from github releases to current directory * false positive * -k gone * Update README.md * Update README.md * Update install.sh * Update install.sh Co-authored-by: Rob Landers <landers.robert@gmail.com> * cleanup --------- Co-authored-by: Kévin Dunglas <kevin@dunglas.fr> Co-authored-by: Rob Landers <landers.robert@gmail.com>
This commit is contained in:
16
README.md
16
README.md
@@ -34,18 +34,28 @@ Go to `https://localhost`, and enjoy!
|
||||
### Standalone Binary
|
||||
|
||||
If you prefer not to use Docker, we provide standalone FrankenPHP binaries for Linux and macOS
|
||||
containing [PHP 8.3](https://www.php.net/releases/8.3/en.php) and most popular PHP extensions: [Download FrankenPHP](https://github.com/dunglas/frankenphp/releases)
|
||||
containing [PHP 8.3](https://www.php.net/releases/8.3/en.php) and most popular PHP extensions.
|
||||
|
||||
On Windows, use [WSL](https://learn.microsoft.com/windows/wsl/) to run FrankenPHP.
|
||||
|
||||
[Download FrankenPHP](https://github.com/dunglas/frankenphp/releases) or copy this line into your
|
||||
terminal to automatically install the version appropriate for your platform:
|
||||
|
||||
```console
|
||||
curl -sLK https://raw.githubusercontent.com/dunglas/frankenphp/main/install.sh | sh
|
||||
mv frankenphp /usr/local/bin/
|
||||
```
|
||||
|
||||
To serve the content of the current directory, run:
|
||||
|
||||
```console
|
||||
./frankenphp php-server
|
||||
frankenphp php-server
|
||||
```
|
||||
|
||||
You can also run command-line scripts with:
|
||||
|
||||
```console
|
||||
./frankenphp php-cli /path/to/your/script.php
|
||||
frankenphp php-cli /path/to/your/script.php
|
||||
```
|
||||
|
||||
## Docs
|
||||
|
||||
Reference in New Issue
Block a user