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

the problem is generating routes anchors?

maybe this helps (route and url) route with named routes

generate absolute url including host

http://laravel.com/docs/helpers#urls

http://laravel.com/docs/routing#named-routes

example:
Route::get('test', array('as' => 'test', 'uses' => '[email protected]'));

in views:
<a href="{{ route('test') }}"> Test </a>

Last updated 3 months ago.
0

Sorry, the issue is with executing the php artisan routes command

Last updated 3 months ago.
0

$_SERVER['HTTP_HOST'] is not set when you ru comands from cli

Where do you get an error? File?

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.