MerlinWP icon indicating copy to clipboard operation
MerlinWP copied to clipboard

Consider adding autoload files to composer.json

Open seothemes opened this issue 7 years ago • 1 comments

Trying to require Merlin as a Composer dependency instead of including it in the theme folder. It would be cool if autoloader functionality could be added for the main file:

{
  "name": "richtabor/merlin-wp",
  "description": "Better WordPress Theme Onboarding.",
  "keywords": ["wp", "wordpress", "theme", "onboarding", "import", "content"],
  "license": "GPL-3.0+",
  "authors": [
    {
      "name"     : "Rich Tabor",
      "homepage" : "https://github.com/richtabor"
    },
    {
      "name"     : "ProteusThemes",
      "homepage" : "https://www.proteusthemes.com/"
    }
  ],
  "require": {
    "proteusthemes/wp-content-importer-v2": "^2.0.4"
  },
  "autoload": {
    "files": [
      "merlin.php"
    ]
  }
}

seothemes avatar Nov 19 '18 10:11 seothemes

Ok to submit a PR?

seothemes avatar Nov 19 '18 10:11 seothemes