Skip to content

Conversation

@adamziel
Copy link
Collaborator

@adamziel adamziel commented Feb 28, 2024

What is this PR doing?

Supersedes #1051

Adds a PHP Blueprints demo page where the use of blueprints.phar PHP library in Playground may be further explored. The showcase is intentionally not added to http://localhost:5400/website-server/demos/index.html as PHP Blueprints may become a part of Playground core soon enough.

For more context see:

How does it work?

Follow-up work

  • Support a real-time progress bar

Testing instructions

Go to http://localhost:5400/website-server/demos/php-blueprints.html and confirm it looks like on the screenshot below:

CleanShot 2024-02-28 at 15 46 14@2x

@adamziel adamziel merged commit cfada35 into trunk Feb 28, 2024
@adamziel adamziel deleted the php-blueprints-demo branch February 28, 2024 15:04
adamziel added a commit to WordPress/php-toolkit that referenced this pull request Mar 1, 2024
This PR makes the Blueprints PHP library work in Playground:

https://playground.wordpress.net/demos/php-blueprints.html

The main change is the addition of `PlaygroundFetchSource` to download
data using browser's `fetch()` (Playground support added in
WordPress/wordpress-playground#1070). The rest
is cosmetics.

Related Playground PR
WordPress/wordpress-playground#1051
topdev22 added a commit to topdev22/library that referenced this pull request Feb 7, 2025
This PR makes the Blueprints PHP library work in Playground:

https://playground.wordpress.net/demos/php-blueprints.html

The main change is the addition of `PlaygroundFetchSource` to download
data using browser's `fetch()` (Playground support added in
WordPress/wordpress-playground#1070). The rest
is cosmetics.

Related Playground PR
WordPress/wordpress-playground#1051
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants