Support the ongoing development of Laravel.io →
Eloquent
Last updated 1 year ago.
0

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

config/app.php

...
'Request'         => 'Illuminate\Support\Facades\Request',
...
Last updated 1 year ago.
0

That's it. Thanks a lot.

Last updated 1 year ago.
0

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

Last updated 1 year ago.
0

Sign in to participate in this thread!

Cloudways

Your banner here too?

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.

© 2023 Laravel.io - All rights reserved.