Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Autoload problem?
  • I always get error

    Class 'Opauth\Opauth' not found

    but I already install them, i think that's a mistake. then I try to load another class it have same result

    $class = new \Michelf();


    That's screen shot composer.json i already update them and on the right is "autoload_psr4.php" inside vendor folder.

    Please advice
  • HarroHarro
    Accepted Answer
    I don't know what you are trying to do, both packages are composer packages, so Composer will take care of the autoloading, there is no need for you to do anything else.

    I just ran a new install, and here, autoload_psr4.php is empty, both are defined in autoload_namespaces.php.

Howdy, Stranger!

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

In this Discussion