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

Autoload the vendor folder from a subfolder #354

Open
matt-alex-wong opened this issue Jul 12, 2022 · 0 comments
Open

Autoload the vendor folder from a subfolder #354

matt-alex-wong opened this issue Jul 12, 2022 · 0 comments

Comments

@matt-alex-wong
Copy link

I am attempting to use the php bindings by following these instructions. When I try to use this code snippet in my php project, I get an error saying Undefined type ‘Intercom\IntercomClient’ via vscode intelephense. After running composer install, I can clearly see that intercom is in the vendor folder.

My INTERCOM_KEY is a variable that I have confirmed loads properly. My other issues is that I cannot even load my environmental variables when using php files in a subfolder. I tried following stack overflow for advice but couldn’t get anywhere

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