PHP code example of masonitedoors / bedrock-autoloader

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

    

masonitedoors / bedrock-autoloader example snippets

json
{
  "name": "masonitedoors/my-wordpress-site",
  "type": "project",
  "license": "GPL-2.0-or-later",
  ""roots/wordpress": "5.4",
    "masonitedoors/bedrock-autoloader": "dev-master"
  },
  "extra": {
    "wordpress-install-dir": "html",
    "installer-paths": {
      "html/wp-content/mu-plugins/{$name}/": [
        "type:wordpress-muplugin",
      ],
      "html/wp-content/plugins/{$name}/": [
        "type:wordpress-plugin"
      ],
      "html/wp-content/themes/{$name}/": [
        "type:wordpress-theme"
      ]
    },
    "dropin-paths": {
      "html/wp-content/mu-plugins/": [
        "package:masonitedoors/bedrock-autoloader:bedrock-autoloader.php"
      ]
    }
  },
  "config": {
    "dropin-installer": "copy"
  }
}