Support the ongoing development of Laravel.io →
Configuration Packages Architecture
Last updated 1 year ago.
0

Hi,

I'm having exactly the same problem.

I am developing my own package and I added a third party depedency to my package composer.json. But when I try to use a class from the third party package, I get a class not found exception.

Laravel seems to lookup for the class in my package namespace and not in vendors.

@psilocyberunner: Did you find any solution?

Best regards

Last updated 1 year ago.
0

I had to run "php artisan dump-autoload" to get my workbench vendor stuff to show up.

Or run composer dump-autoload in the workbench folder.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.