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

Laravel 5 documentation shows the link_to_route, but I still am getting an error when using it.

0

please paste some code. And what error?

I am using link_to_route without problems.

0

Hi, to use the link_to_route helper you need to pull the "illuminate/html": "~5.0" package. Instructions are available here: http://laravel.com/docs/5.0/upgrade#upgrade-5.0 see the Form & Html Helpers section.

Usman.

0
Solution

usm4n said:

Hi, to use the link_to_route helper you need to pull the "illuminate/html": "~5.0" package. Instructions are available here: http://laravel.com/docs/5.0/upgrade#upgrade-5.0 see the Form & Html Helpers section.

Usman.

Thank you

0

Just a heads up. Laravel is no longer maintaining those packages. They're now handled by Laravel Collective Here is the github

0

Hi, I've just tried to follow the instructions for using these, but can't get it to work.

The instructions say to add...

'Collective\Html\HtmlServiceProvider',

to the providers array in config/app.php, yet every other entry in there is of the form...

Collective\Html\HtmlServiceProvider::class

Apart from resolving this issue is there anything else you need to do to enable this?

thanks,

0

Sign in to participate in this thread!

Eventy

Your banner here too?

frocco frocco Joined 3 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.