PHP code example of wp-spaghetti / bedrock-autoloader-mu
1. Go to this page and download the library: Download wp-spaghetti/bedrock-autoloader-mu 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/ */
wp-spaghetti / bedrock-autoloader-mu example snippets
wp-content/
└── mu-plugins/
├── bedrock-autoloader.php (← main autoloader file, copied from dist/)
├── bedrock-autoloader-mu/
│ ├── dist/
│ │ └── bedrock-autoloader.php (← source template)
│ ├── src/
│ │ └── CopyHelper.php (← helper class)
│ └── composer.json
└── your-mu-plugin/
└── your-mu-plugin.php (← auto-loaded)