PHP code example of madebydavid / wordpress-skeleton

1. Go to this page and download the library: Download madebydavid/wordpress-skeleton 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/ */

    

madebydavid / wordpress-skeleton example snippets


define('DB_NAME', 'my-wordpress-database');
define('DB_USER', 'root');
define('DB_PASSWORD', '');
define('DB_HOST', 'localhost'); 
define('WP_HOME', 'http://my-wordpress-site/');
define('WP_SITEURL', 'http://my-wordpress-site/wordpress');
bash
$ curl -sS https://getcomposer.org/installer | php
bash
$ mv local-config-sample.php local-config.php