PHP code example of zippovich2 / wordpress

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

    

zippovich2 / wordpress example snippets


    use WordpressWrapper\Config\Config;
   
    $config = new Config($_ENV['PROJECT_ROOT'] . '/config');
    $config->load();
    

your-project/
├─ .docker/
├─ config/
|  └─ ...
├─ public/
|  ├─ app/
|  ├─ wp/
|  ├─ index.php
|  └─ wp-config.php
├─ src/
|  └─ ...
├─ var/
├─ tests/
└─ vendor/