I have read the Symfony documentation and I am still unsure of how to include a class. I want to include a Google Analytics PHP class into Symfony, but not sure on the following:
- Where should it go? From the documentation I assume it should be under the vendor directory?
- How would I then include the class? Ideally I would only like to include it where necessary (ie when I need it).
- How would I then utilise the class?
Cheers
Adam