

If you have VS Code installed then run the following. You can do pretty anything a real Chrome browser can do.įor demonstration purposes let’s create a new empty directory with a single file chrome.php. The Chrome PHP package can be added with Composer to either existing codebase or start from strach.

With Chrome PHP you can write PHP code to control a real Chrome instance. This sounds too good to be true but it’s real. Controlling Google Chrome with just PHP code. However today I’ll show you how to accomplish a similar thing using Chrome, PHP and Javascript. ManageWP isn’t open source so I have no idea what wizardry they are doing to pull this off. That allows your site to be fully managed by ManageWP. With only three pieces of information, the WordPress site url, username and password, ManageWP will automatically install and configure their worker plugin. If you’ve ever used ManageWP then you know their onboarding is quite magical.
