valan Posted July 16, 2019 Share Posted July 16, 2019 How to load and use non-PW vendor classes installed with help of composer? Would it be enough to add "use namespace\class;" in the beginning of file? Also, is there any difference for doing that in PW module and template file? Link to comment Share on other sites More sharing options...
valan Posted July 16, 2019 Author Share Posted July 16, 2019 Also, how to "require" non-PW vendor classes in PW module? Link to comment Share on other sites More sharing options...
dragan Posted July 16, 2019 Share Posted July 16, 2019 Lots of infos here: https://processwire.com/blog/posts/composer-google-calendars-and-processwire/ 2 Link to comment Share on other sites More sharing options...
gmclelland Posted July 16, 2019 Share Posted July 16, 2019 and here 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now