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

Composer Autoloader will not load plugins from project Directory. #88

Open
icomefromthenet opened this issue May 14, 2013 · 4 comments
Open

Comments

@icomefromthenet
Copy link

Composer Autoloader will not load plugins from project Directory, when using phrozn from global install and not a fork of the main repo.

Looks like this feature was removed when switch was made to use composer as the exclusive autoloader, as this did work when Zend2 was in use.

@darkstar42
Copy link

I guess, we have the same troubles: Trying to use example content provider from the Phrozn Documentation Site "Primarchs". We put a "BLUB;" into Primarchs.php, just to look, if Primarchs.php gets executed. No failures/errors occured.

@icomefromthenet
Copy link
Author

I fixed my issue by creating a PhroznPlugin directory under project/.phrozn/plugins/, the skeleton is missing this subdirectory and not noted in the docs to add this subdirectory.

@gbirke
Copy link
Contributor

gbirke commented Jun 14, 2013

I fixed the issue by putting my plugin in project/.phrozn/plugins/PhroznPlugin/Provider. Still, it's not very convenient.

@brendanjohnston
Copy link

I eventually did the same. As a new user, I nearly threw in the towel.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants