danieldevine/bird-elephant

Class Not Found

Closed this issue · 3 comments

In all classes it gives me the following error when trying to use them (not found):

Chorme
image

Visual Studio
image

Hi,

I don't think this is an issue with the library.
Are you sure that you are autoloading correctly?

If you think it's something specific to the library you'll need to give me some more detail about the way you're autoloading classes in your project.

i used $ composer require coderjerk/elephant-bird to install

Yes, that is how you install the library.... however It's then up to you to autoload the classes in your project.

I would advise you to read the following:

https://getcomposer.org/doc/01-basic-usage.md#autoloading

you should also probably run composer dump-autoload when you add a new dependency via composer.

This probably isn't an issue with the library, this issue is most likely with how your project is configured.