Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Add composer configuration for packagist #104

Open
davidsneighbour opened this issue Aug 22, 2020 · 1 comment
Open

Add composer configuration for packagist #104

davidsneighbour opened this issue Aug 22, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request todo 🗒️
Milestone

Comments

@davidsneighbour
Copy link
Owner

To enable the framework as a PSR4 valid package for autoloading with composer require davidsneighbour/colossus-wp-options-framework#2.0.0-pre-001 I will add some configuration to the chore/repo branch and tag pre-releases in that branch.

something like the following:

  "autoload-dev": {
    "psr-4": {
      "Colossus\\Testing\\Browser\\": "tests/browser/",
      "Colossus\\Testing\\Unit\\": "tests/unit/"
    },
    "classmap": []
  },
  "autoload": {
    "psr-4": {
      "Colossus\\": "src/"
    }
  },
@davidsneighbour davidsneighbour added enhancement New feature or request todo 🗒️ labels Aug 22, 2020
@davidsneighbour davidsneighbour added this to the 2.0.0 milestone Aug 22, 2020
@davidsneighbour davidsneighbour self-assigned this Aug 22, 2020
@davidsneighbour
Copy link
Owner Author

This is a breaking change because from now on the framework needs to be loaded via namespace like \Colossus\Classname

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request todo 🗒️
Projects
None yet
Development

No branches or pull requests

1 participant