Laravel 5 documentation shows the link_to_route, but I still am getting an error when using it.
please paste some code. And what error?
I am using link_to_route without problems.
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.
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 theForm & Html Helpers
section.Usman.
Thank you
Just a heads up. Laravel is no longer maintaining those packages. They're now handled by Laravel Collective Here is the github
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,
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community