Skip to content
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

Documentation - jaxon-php.org #4

Closed
nevtag opened this issue Nov 11, 2016 · 1 comment
Closed

Documentation - jaxon-php.org #4

nevtag opened this issue Nov 11, 2016 · 1 comment

Comments

@nevtag
Copy link

nevtag commented Nov 11, 2016

Hi Thierry,

I try to create a response plugin, and your documentation ends where it will be interesting "create a response plugin".
I have made my own local repository for composer and that is working, my plugin will be installed in vendor.
But if the registerplugin() function was called in start.php of my plugin, I got the error that the class \xx\xx\Plugin which is in Plugin.php not found. Looks like the Plugin.php was not load. As example I used jaxon-toastr plugin.
How should I tell jaxon to load the Plugin.php ?

@nevtag
Copy link
Author

nevtag commented Nov 11, 2016

I solved it.
I used for autoload psr-0, but psr-4 do it.

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

No branches or pull requests

1 participant