I'm trying to create a custom Laravel/Collective 6 form component as per instruction here
I installed the Laravel/Collective package as per the previous link instruction using:
$ composer require laravelcollective/html
I have no problems with using the form as it seems to work just fine. I've only encountered errors when trying to register a macro or component to App\Providers\AppServicePr
boot function with:
Form::component('bsText', 'components.form.text', ['name', 'value', 'attributes']);
This is what I see:
When trying to load the custom component I get the following error:
What I've Tested
When checking previous laravelcollective version, namely, v5.6 and prior, I see the following instructions:
I've tried adding those entries to their respective locations in providers and aliases but it did not seem to help.
I'm not sure what I'm missing, Can you please help point me in the right direction?