Support the ongoing development of Laravel.io →
posted 10 years ago
Packages
Last updated 1 year ago.
0

Have you registered the provider by adding it to the providers array in the app/config/app.php ?

Last updated 1 year ago.
0

We need more information than that. Try this:

So we can help you better and faster.

But some quick questions

  • Are you already autoloading your classes with composer? Classmap, PSR-0 or PSR-4?
  • If you are using PSR-4 is your namespacing all set and good?
Last updated 1 year ago.
0

Psyao yes register it :)

Last updated 1 year ago.
0

Vendor name: nahidz and package: profiles so in composer I add this "psr-0":{ "Nahidz\Profiles\":"src/" } is it correct? gustavovaldezsan

Last updated 1 year ago.
0

Give "psr-0":{ "Nahidz\\Profiles\\":"src/" } a try.
Don't forget to composer dump-autoload or php artisan dump-autoload

Last updated 1 year ago.
0

XoneFobic said:

Give "psr-0":{ "Nahidz\\Profiles\\":"src/" } a try.
Don't forget to composer dump-autoload or php artisan dump-autoload

Yes try to 'composer dump-autoload' in your workbench directory also.

Last updated 1 year ago.
0

Thank you all, I just done :)

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

nahid nahid Joined 9 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.