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

Could be a bad meta-data cache, try artisan clear-compiled or you can just delete the file storage/meta/services.json, or change the order of the providers array and it will update the cache on the next run.

Last updated 2 years ago.
0

TerrePorter said:

Could be a bad meta-data cache, try artisan clear-compiled or you can just delete the file storage/meta/services.json, or change the order of the providers array and it will update the cache on the next run.

Tried artisan clear-compiled and tried deleting the storage/meta/services.json file - neither one worked. The services.json file wouldn't put my custom service provider in.

Putt the service provider in at the bottom of the providers instead of the top did work, thanks!

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

tlshaheen tlshaheen Joined 14 Oct 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.