1. Go to this page and download the library: Download devuri/wp-env-app library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
devuri / wp-env-app example snippets
return [
'web_root' => 'public_html', // web root is now set as public_html
'content_dir' => 'app',
'plugin_dir' => 'app/plugins',
'mu_plugin_dir' => 'app/mu-plugins',
'default_theme' => 'brisko',
];