Urgent: version 0.6.0 isn't working (on laravel 5.4 at least)
See original GitHub issueCurrently installed Laravel version:
5.4.*
Currently installed Ziggy version
^0.6.0
Example route from your Laravel Routes file.
i.e. -
Route::resource('workers', 'WorkerController', ['except' => [
'show'
]]);
After the installation process that indicates the readme file I got the 0.6.0 version.
but it has this issue #115 , so I change the ZiggyServiceProvider file as @rorymcdaniel proposed. Then after that, I’ve got this one #69 and this one #110
So… on the composer.json file I changed the version 0.6.0 for the 0.4.1
and it works fine (calling the .toString() function).
I don’t know what merge went wrong, but it needs a quick fix.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Urgent: version 0.6.0 isn't working (on laravel 5.4 at least) #120
Currently installed Laravel version: 5.4.* Currently installed Ziggy version ^0.6.0 Example route from your Laravel Routes file.
Read more >Release Notes - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We've already laid the foundation — freeing you to create without sweating...
Read more >Upgrade Guide - The PHP Framework For Web Artisans
The new minimum PHP version is now 7.3.0. Updating Dependencies. Update the following dependencies in your composer.json file: guzzlehttp/guzzle to ...
Read more >Upgrade Guide - The PHP Framework For Web Artisans
You should update the following dependencies in your application's composer.json file: laravel/framework to ^9.0; nunomaduro/collision to ^6.1.
Read more >Release Notes - The PHP Framework For Web Artisans
When referencing the Laravel framework or its components from your application or package, you should always use a version constraint such as ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

You’re totally fine man, that sucks. Appreciate the help you’ve given so far.
@the94air I just installed that package set into my testing project and Ziggy continued to work. If you end up narrowing it down to a specific dependency, let us know and we’ll look into it some more.