Automattic / studio

Studio by WordPress.com, a free desktop app that helps developers streamline their local WordPress development workflow.
https://developer.wordpress.com/studio/
GNU General Public License v2.0
174 stars 17 forks source link

Add Support for Recommended PHP Modules #61

Open jbodnar2 opened 5 months ago

jbodnar2 commented 5 months ago

What

Either enable or allow users to enable/disable a greater selection of WP's "highly recommended" PHP modules, for example: curl, exif, imagick, intl.

WP's list of highly recommended modules is available in its online documentation.

Why

Many WP sites, plugins and themes require a greater array of PHP modules. Without this enhancement, Studio will be severly limited in its ability to support the design and development of complex sites, themes, and plugins.

How

No response

danielbachhuber commented 5 months ago

Thanks for the suggestion, @jbodnar2 !

We'll need to coordinate with WordPress Playground in order to solve this. Here are a couple of related issues:

adamziel commented 4 months ago

curl is already there for the Node.js PHP builds 🎉 exif, imagick, and intl are not. Perhaps they wouldn't be difficult to add, though? Here's the part of the repo where wasm libs are compiled if you're up for a challenge: https://github.com/WordPress/wordpress-playground/tree/trunk/packages/php-wasm/compile/

Otherwise let us know if one of these libs blocks an important use-case for Studio.