Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 2 years ago.
0

have you tried adding them to the autoload/classmap in composer.json?

Last updated 2 years ago.
0

I tested it now no it doesn't work.

Last updated 2 years ago.
0

For views, you can use the addNamespace function to define a new namespace and directory for your views. I think something like this would work:

View::addNamespace('your_component', 'app/components/your_component/views');

And then access it like so:

View::make('your_component::list');

As for the config, that's tougher. There may be a decent way to do this, but you'll have to look into Laravel's API documentation.

Last updated 2 years ago.
0

@thepsion5 Hello,

Works great thanks, now I'll search for Config.

Last updated 2 years 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.