-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Composer autoloader #62
Comments
oh god! |
When trying to reduce the amount of entries in the deprecated 'include-path' section of my composer.json I stumbled upon this as well. The resource autoloader uses the include() statement and therefore either:
Also see: https://github.com/zendframework/zf1/blob/master/library/Zend/Loader/Autoloader/Resource.php#L201 |
I too am experiencing this. 'Unable to resolve plugin "doctrine"'. I'm not sure whether I'm doing this right or not, but changing |
I'm a bit late to the party, but @naroga your path is incorrect. You're missing a hop backwards from the APPLICATION_PATH. It should be like this:
|
Thanks @halfpastfouram. I believe the issue was solved. I'm no longer working in that project (or at that same company), so I can't really confirm. |
Well, better late than never, right? |
I'm not clear if this is an issue, or if I'm just missing something.
I had trouble getting Bisna's Doctrine.php to autoload when everything is installed via composer. I kept getting "unable to resolve plugin". My workaround was to use a full path for the Bisna plugin in my application.ini:
pluginPaths.Bisna\Application\Resource\ = APPLICATION_PATH "vendor/guilhermeblanco/zendframework1-doctrine2/library/Bisna/Application/Resource"
. . . which really, works fine, though it seems to me that the Composer autoloader should help out here. I am including that in my ZF index.php. Any idea why it's not working in this instance?
The text was updated successfully, but these errors were encountered: