Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Call composer package
  • i am sorry, i new in fuelphp, i will ask simple question about composer in fuelphp, i have added a new package for example TCPDF to my project with composer.update and already have been
    downloaded into folder vendor. i only confuse how to call TCPDF in my controller, can anyone give me simple example how to call TCPDF package in fuelPHP in controller?
  • Fuel uses the composer autoloader, so just load the classes as defined by the composer library (tcpdf in this case)?
  • thanks harro for the answer, i have solved my problem. at the beginning there were some eror when updating composer, therefore loading process in controller was eror too, but i have installed new project and install composer again, everything ok...thanks ...


Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion