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

The first line should read

<?php namespace App\Http\Controllers;

and does your Auth controller have the line

use App\Http\Controllers\Controller;

at the top?

Last updated 9 years ago.
0

Doing an upgrade from 4.2 to 5 and having this issue as well. I've tried jacksoncharles suggestions, but they didn't fix the issue at hand. Anyone have any further advice/suggestions?

0

Did you update your composer.json to use psr-4 ?

	"psr-4": {
		"App\\": "app/"
	}
Last updated 9 years ago.
0

Yes. I am using the composer.json from the Laravel 5 install and it includes psr-4.

0

I am facing similar problem when migrating from Laravel 4.2 to 5 (Laravel 4.2 to 5 Class 'App\Http\Controllers\Controller' not found ). Would appreciate any pointers in this regards.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

paulocoghi paulocoghi Joined 13 Feb 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.