Jump to content

Can't get Composer to work in module (class not found)


Recommended Posts

I've never used php or composer before, and I'm trying to include a JWT library in my module. I ran composer, and the lock and vendor files were generated. But the main class in my include is not being found, resulting in an error page that says "Class 'JWT' not found" when I try to load my modules from the dashboard.

 

I've been messing around with it for awhile, and I tried out a few suggested hacks. But this doesn't seem like the kind of thing that would require a hack, so I'm probably just missing something simpler.

 

Not sure what other information would be helpful, let me know if there's any more details I could provide.

Edited by TomRyan (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...