Support the ongoing development of Laravel.io →
Eloquent
Last updated 3 months ago.
0

Request is already used in Laravel. You better use another class name.

config/app.php

...
'Request'         => 'Illuminate\Support\Facades\Request',
...
Last updated 3 months ago.
0

That's it. Thanks a lot.

Last updated 3 months ago.
0

Namespacing is really the way to go here. You'll never be able to create an Event class without it.

Last updated 3 months ago.
0

Sign in to participate in this thread!

Full Stack Europe

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.