Skip to content

Class "Modules\Blog\Providers\BlogServiceProvider" not found #2109

@AnthoniG

Description

@AnthoniG

Versions:

  • "php": "^8.2",
  • "laravel/framework": "^12.0",
  • "nwidart/laravel-modules": "^12.0",

Description:

Fresh install and going to update a project I have working with laravel--modules "^10.0", so quite old
When I try and create a Module, everything in the terminal outputs fine.
However the laravel log is screaming at me 😿

Class "Modules\Blog\Providers\BlogServiceProvider" not found.
I am not sure what is going on here but it's obviously something to do with PSR-4 registration

Looking in said file the namespace is "namespace Modules\Blog\Providers;" so it lines up.

Steps To Reproduce:

I haven't a clue

Everything seems to oddly work, but the larvel log keeps screaming every time I add a file using php artisan
Any clues ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions