An open API service indexing awesome lists of open source software.

https://github.com/glassmonkey/php-playground

PHP Playground by WebAssembly
https://github.com/glassmonkey/php-playground

chakuraui php playground react typescript webassembly

Last synced: about 2 months ago
JSON representation

PHP Playground by WebAssembly

Awesome Lists containing this project

README

          

![playwright](https://github.com/glassmonkey/php-playground/actions/workflows/playwright.yml/badge.svg?branch=master)
![test](https://github.com/glassmonkey/php-playground/actions/workflows/test.yml/badge.svg?branch=master)

# php-playground

PHP Playground let you to execute basic PHP code in real time.

https://php-play.dev

![demo](doc/demo.gif)

# usage build
build web assembly
```
make build
```

build JavaScript with watching
```
npm run dev
```

build JavaScript
```
npm run build
```

build JavaScript and preview
```
npm run preview
```

# related

## chrome extension
install: [store page](https://chromewebstore.google.com/detail/run-on-php-playground/ddhmobhdfmhfckpkedkompdjdmpapeng)
repository: [meihei3/run-on-php-playground](https://github.com/meihei3/run-on-php-playground)

## PHP to WebAssembly build pipeline

The bulild pipeline was created by Forking [WordPress/wordpress-playground](https://github.com/WordPress/wordpress-playground).
Please refer to the [original document](https://wordpresswasm.readthedocs.io/en/latest/using-php-in-javascript/) for details.

# Licence

Apache License 2.0