Jump to content

Module with Composer Library PS1.6.1


Recommended Posts

I am trying to write a module with a composer library in prestashop 1.6.1

 

Every time I try to load the module, i get a Prestashop error:

2 errors 

  1. registrationSync (parse error in /modules/registrationSync/registrationSync.php)
  2. registrationSync (class missing in /modules/registrationSync/registrationSync.php)

 

This goes away if I comment out the use /library/name/here 

 

How can I use a composer library in a module? I see several "hacks" and articles, but none have worked.

 

Thanks

Link to comment
Share on other sites

  • 3 months later...

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...