Support the ongoing development of Laravel.io →
posted 2 weeks ago
0

Can you show your code to figure out the exact issue?

0

thanks for replieng Route::get('/', function () { db::connection()->getPdo(); }); that is the code and "no route found " is the error

0

what is the URL that you are trying to hit? Is it API or web URL?

bahador-cpu liked this reply

1

i guess it's API , basically i am trying to access the varibles in .env file in my laravel project , and also establish a connection via web.php file in order the check or modify some ..

0

php artisan route:list

Run the above command in the console and check what are the routes are registered to the application

Last updated by @rintoug 1 week ago.

bahador-cpu liked this reply

1

Undefined type 'Illuminate\Support\Facades\Route'. this is what i got in the terminal and problem section

0

Sign in to participate in this thread!

Eventy

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.

© 2024 Laravel.io - All rights reserved.