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

Just a quick update on this issue: still no progress. I've even tried reinstalling Laravel fresh, and the same issue occurs - very strangely, the exact same issue, whereby only the Jobs module's routes will work. I've tried making some more modules and none of their routes are found by the web application either - so the 'Jobs' module is the anomaly for working, as no other module seems to work, despite the correct entry being made in the PSR-4 autoload section of the application's composer.json.

0

And another update: I had enough and hard-rebooted my server. And... now even the jobs routes don't work. I have utterly no idea what's going on, but at least I have consistent behaviour from these modules now.

0

Hey,

You can have a look at this thread https://github.com/nWidart/laravel-modules/issues/118 . It should solve the problem.

in the file config/modules.php

Change

'scan' => [
        'enabled' => false,
        'paths' => [
            base_path('vendor/*/*'),
        ],
    ],

to

'scan' => [
        'enabled' => true,
        'paths' => [
            base_path('modules/*'),
        ],
    ],
Last updated 6 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Peregrine peregrine Joined 12 Jun 2017

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.