Support the ongoing development of Laravel.io →
posted 10 years ago
Configuration

A fresh L5 install today appears to have issues with my routes not being added to the routes.scanned.php file.

In my RouteService Provider I have:

protected $scan = [ 'App\Http\Controllers\HomepageController', ];

in my controller I have:

/** * @Get("/", as="home") * * @return \Illuminate\View\View */ public function homepage() {

    return view('homepage.homepage');
}

I have tried

php artisan clear-compiled

php artisan route:scan

But nothing changes or adds route entries to the scanned list

Anybody else getting these issues?

Last updated 3 years ago.
0

Sign in to participate in this thread!

PHPverse

Your banner here too?

provun provun Joined 21 May 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.

© 2025 Laravel.io - All rights reserved.