Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
module vs package
  • hi,
    if i want to create and use my own utility classes/methods to be used i.e. inside controllers- is it better to use package or module? currently, i would start with package. am i ok?

    thanks in advance
  • HarroHarro
    Accepted Answer
    In general:

    - a package is a core extension, and contains additional framework functionality. No controller support.
    - a module is an app extension, and contains front-end code. It contains controllers.

    From your brief description, I'd say "package".
  • thank you kindly

Howdy, Stranger!

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

In this Discussion