PHP code example of frozzare / wp-autoload

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

    

frozzare / wp-autoload example snippets



register_wp_autoload( 'Example\\', __DIR__ . '/src' );

namespace Example;
class Plugin_Loader {}

namespace Example;
trait Crawler {}

namespace Example;
interface Say {}