Visitar URL original
Autoload the vendor folder from a subfolder · Issue #354 · intercom/intercom-php · GitHub
Skip to content

Autoload the vendor folder from a subfolder #354

Description

@matt-alex-wong

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions