Skip to content

PHP Blueprints demo page #1070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 28, 2024
Merged

PHP Blueprints demo page #1070

merged 2 commits into from
Feb 28, 2024

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/blueprints-library 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
Coyote100333 added a commit to Coyote100333/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.

1 participant