-
Notifications
You must be signed in to change notification settings - Fork 121
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
unable to include jaxl #99
Comments
I've got it working with regular "require" loading. Not as efficient, but it works and leaves composer out of the mix. The loading order is important... require 'core/jaxl_cli.php'; Hope that helps! |
I downloaded the git repository's zip file and copied src/JAXL into a new directory, from which I required jaxl.php . This gave me the following error:
Uncaught Error: Class 'XMPPStream' not found in [path]\jaxl.php:53
(where [path] is the path to the copied JAXL library)
Attempting to package the library into a phar file and require that file in my project gave me the same error. It seems the problem lies with JAXL not autoloading classes.
How do I get jaxl to run given this situation? If the solution is obvious, I apologize, as I haven't worked with PHP libraries for very long.
The text was updated successfully, but these errors were encountered: