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

Can this be used with Laravel 5.x? #11

Open
seatechdev opened this issue Jun 27, 2017 · 2 comments
Open

Can this be used with Laravel 5.x? #11

seatechdev opened this issue Jun 27, 2017 · 2 comments

Comments

@seatechdev
Copy link

Can you provide an example for how to use it with Laravel 5.x?

@smaugho
Copy link

smaugho commented Aug 16, 2017

Hi, I'm using it with Laravel 5.4. You should simply place it into a lib folder, and then you can use it normally from within your code:

Ex.

root

  • app
  • bootstrap
  • config
  • database
  • libs (Create this folder)
    • api-ai-php (Place here the library)
  • public
  • resources
    ...

@MazzMazz
Copy link

MazzMazz commented Nov 8, 2017

Am I wrong here but if you are using Laravel you can simply install it with composer install iboldurev/dialogflow and use it with simple use statements like use DialogFlow\Client as DialogFlowClient;

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

3 participants