Skip to main content
deleted 79 characters in body; edited title
Source Link
Kevin
  • 28k
  • 12
  • 95
  • 196

Drupal 8 Attaching Google PHP Library to custom module

i'm very confused about attaching a php library to a module and call the library onHow do I use an external PHP package in my controller. As for js and css is simple, i don't get things working.own module?

Library This is the one I want to use: https://github.com/googleads/googleads-php-lib

I have some questions

1- Were should i put the library? 2- Where should i declare the library? 3- Should i include something like using ...

  1. Where should i put the library?
  2. Where should i declare the library?
  3. Should i include something like use

Thanks in advance

Drupal 8 Attaching Google PHP Library to custom module

i'm very confused about attaching a php library to a module and call the library on my controller. As for js and css is simple, i don't get things working.

Library https://github.com/googleads/googleads-php-lib

I have some questions

1- Were should i put the library? 2- Where should i declare the library? 3- Should i include something like using ...

Thanks in advance

Attaching Google PHP Library to custom module

How do I use an external PHP package in my own module?

This is the one I want to use: https://github.com/googleads/googleads-php-lib

I have some questions

  1. Where should i put the library?
  2. Where should i declare the library?
  3. Should i include something like use

Thanks in advance

Source Link

Drupal 8 Attaching Google PHP Library to custom module

i'm very confused about attaching a php library to a module and call the library on my controller. As for js and css is simple, i don't get things working.

Library https://github.com/googleads/googleads-php-lib

I have some questions

1- Were should i put the library? 2- Where should i declare the library? 3- Should i include something like using ...

Thanks in advance