Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Urgent: version 0.6.0 isn't working (on laravel 5.4 at least) #120

Closed
mazyvan opened this issue Jan 11, 2018 · 9 comments
Closed

Urgent: version 0.6.0 isn't working (on laravel 5.4 at least) #120

mazyvan opened this issue Jan 11, 2018 · 9 comments

Comments

@mazyvan
Copy link

mazyvan commented Jan 11, 2018

Currently 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.

@romanzipp
Copy link

Can confirm. Doesn't work with Laravel v5.5.29 on PHP 7.1.7 with Ziggy v0.6.0.

Downgrading to "tightenco/ziggy": "^0.5.0", fixes the error - update appreciated

@the94air
Copy link

I also upgraded my project to version 0.6.0 but it just show @routes in all pages and I needed to downgrade again to 0.5.0.

@DanielCoulbourne DanielCoulbourne added the in progress We're working on it label Jan 16, 2018
@DanielCoulbourne
Copy link
Contributor

Hey folks, @jakebathman and I have both tried to duplicate this issue (on 5.4 and 5.5.29 with Ziggy 0.6) and failed to do so.

Any further info?

Could one of yall who is having the issue post your composer.json?

@DanielCoulbourne DanielCoulbourne removed the in progress We're working on it label Jan 26, 2018
@DanielCoulbourne
Copy link
Contributor

We are closing this issue because it appears to be related to a package conflict as noted in #115

Please update your packages and if you are able to identify other conflicting packages, point their maintainers to this thread: 404labfr/laravel-impersonate#25

@the94air
Copy link

All my installed packages @DanielCoulbourne.

aloha/twilio                             3.0.4   Twilio API for Laravel
anahkiasen/underscore-php                2.0.0   A redacted port of Underscore.js for PHP
dnoegel/php-xdg-base-dir                 0.1     implementation of xdg base directory specification for php
doctrine/inflector                       v1.2.0  Common String Manipulations with regard to casing and singular/plural rules.
doctrine/instantiator                    1.0.5   A small, lightweight utility to instantiate objects in PHP without invoking their ...
doctrine/lexer                           v1.0.1  Base library for a lexer that can be used in Top-Down, Recursive Descent Parsers.
egulias/email-validator                  2.1.3   A library for validating emails against several RFCs
erusev/parsedown                         1.6.4   Parser for Markdown.
ezyang/htmlpurifier                      v4.9.3  Standards compliant HTML filter written in PHP
fideloper/proxy                          3.3.4   Set trusted proxies for Laravel
filp/whoops                              2.1.14  php error handling for cool kids
firebase/php-jwt                         v5.0.0  A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform...
fzaninotto/faker                         v1.7.1  Faker is a PHP library that generates fake data for you.
giggsey/libphonenumber-for-php           8.8.9   PHP Port of Google's libphonenumber
giggsey/locale                           1.4     Locale functions required by libphonenumber-for-php
google/apiclient                         v2.2.1  Client library for Google APIs
google/apiclient-services                v0.41   Client library for Google APIs
google/auth                              v1.2.0  Google Auth Library for PHP
guzzlehttp/guzzle                        6.3.0   Guzzle is a PHP HTTP client library
guzzlehttp/promises                      v1.3.1  Guzzle promises library
guzzlehttp/psr7                          1.4.2   PSR-7 message implementation that also provides common utility methods
hamcrest/hamcrest-php                    v1.2.2  This is the PHP port of Hamcrest Matchers
htmlmin/htmlmin                          v5.0.0  HTMLMin Is A Simple HTML Minifier For Laravel 5
intervention/image                       2.4.1   Image handling and manipulation library with support for Laravel integration
ircmaxell/random-lib                     v1.2.0  A Library For Generating Secure Random Numbers
ircmaxell/security-lib                   v1.1.0  A Base Security Library
jakub-onderka/php-console-color          0.1
jakub-onderka/php-console-highlighter    v0.3.2
jenssegers/date                          v3.2.12 A date library to help you work with dates in different languages
jeremeamia/SuperClosure                  2.3.0   Serialize Closure objects, including their context and binding
julien-c/iso3166                         2.0.1   ISO 3166-1 alpha-2 mapping
laravel/framework                        v5.5.28 The Laravel Framework.
laravel/scout                            v3.0.12 Laravel Scout provides a driver based solution to searching your Eloquent models.
laravel/tinker                           v1.0.3  Powerful REPL for the Laravel framework.
laravelcollective/html                   v5.5.1  HTML and Form Builders for the Laravel Framework
league/flysystem                         1.0.41  Filesystem abstraction: Many filesystems, one API.
maatwebsite/excel                        2.1.24  An eloquent way of importing and exporting Excel and CSV in Laravel 4 with the pow...
madewithlove/illuminate-psr-cache-bridge 1.0.2
mews/purifier                            2.0.9   Laravel 5 HtmlPurifier Package
mockery/mockery                          0.9.9   Mockery is a simple yet flexible PHP mock object framework for use in unit testing...
monolog/monolog                          1.23.0  Sends your logs to files, sockets, inboxes, databases and various web services
mrclay/minify                            2.3.3   Minify is a PHP5 app that helps you follow several rules for client-side performan...
mtdowling/cron-expression                v1.2.1  CRON for PHP: Calculate the next or previous run date and determine if a CRON expr...
myclabs/deep-copy                        1.7.0   Create deep copies (clones) of your objects
nesbot/carbon                            1.22.1  A simple API extension for DateTime.
nikic/php-parser                         v3.1.3  A PHP parser written in PHP
paragonie/random_compat                  v2.0.11 PHP 5.x polyfill for random_bytes() and random_int() from PHP 7
patchwork/utf8                           v1.3.1  Portable and performant UTF-8, Unicode and Grapheme Clusters for PHP
phar-io/manifest                         1.0.1   Component for reading phar.io manifest information from a PHP Archive (PHAR)
phar-io/version                          1.0.1   Library for handling version information and constraints
phpdocumentor/reflection-common          1.0.1   Common reflection classes used by phpdocumentor to reflect the code structure
phpdocumentor/reflection-docblock        4.2.0   With this component, a library can provide support for annotations via DocBlocks o...
phpdocumentor/type-resolver              0.4.0
phpoffice/phpexcel                       1.8.1   PHPExcel - OpenXML - Read, Create and Write Spreadsheet documents in PHP - Spreads...
phpseclib/phpseclib                      2.0.9   PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SF...
phpspec/prophecy                         1.7.3   Highly opinionated mocking framework for PHP 5.3+
phpunit/php-code-coverage                5.3.0   Library that provides collection, processing, and rendering functionality for PHP ...
phpunit/php-file-iterator                1.4.5   FilterIterator implementation that filters files based on a list of suffixes.
phpunit/php-text-template                1.2.1   Simple template engine.
phpunit/php-timer                        1.0.9   Utility class for timing
phpunit/php-token-stream                 2.0.2   Wrapper around PHP's tokenizer extension.
phpunit/phpunit                          6.5.5   The PHP Unit Testing framework.
phpunit/phpunit-mock-objects             5.0.6   Mock Object library for PHPUnit
pragmarx/random                          v0.2.2  Create random chars, numbers, strings
propaganistas/laravel-phone              3.0.4   Adds phone number functionality to Laravel and Lumen based on Google's libphonenum...
psr/cache                                1.0.1   Common interface for caching libraries
psr/container                            1.0.0   Common Container Interface (PHP FIG PSR-11)
psr/http-message                         1.0.1   Common interface for HTTP messages
psr/log                                  1.0.2   Common interface for logging libraries
psr/simple-cache                         1.0.0   Common interfaces for simple caching
psy/psysh                                v0.8.17 An interactive shell for modern PHP.
ramsey/uuid                              3.7.1   Formerly rhumsaa/uuid. A PHP 5.4+ library for generating RFC 4122 version 1, 3, 4,...
sebastian/code-unit-reverse-lookup       1.0.1   Looks up which function or method a line of code belongs to
sebastian/comparator                     2.1.1   Provides the functionality to compare PHP values for equality
sebastian/diff                           2.0.1   Diff implementation
sebastian/environment                    3.1.0   Provides functionality to handle HHVM/PHP environments
sebastian/exporter                       3.1.0   Provides the functionality to export PHP variables for visualization
sebastian/global-state                   2.0.0   Snapshotting of global state
sebastian/object-enumerator              3.0.3   Traverses array structures and object graphs to enumerate all referenced objects
sebastian/object-reflector               1.1.1   Allows reflection of object attributes, including inherited and non-public ones
sebastian/recursion-context              3.0.0   Provides functionality to recursively process PHP variables
sebastian/resource-operations            1.0.0   Provides a list of PHP built-in functions that operate on resources
sebastian/version                        2.0.1   Library that helps with managing the version number of Git-hosted PHP projects
spatie/laravel-activitylog               2.3.2   A very simple activity logger to monitor the users of your website or application
spatie/laravel-analytics                 3.4.0   A Laravel 5 package to retrieve Google Analytics data.
spatie/laravel-permission                2.7.8   Permission handling for Laravel 5.4 and up
spatie/string                            2.2.2   String handling evolved
swiftmailer/swiftmailer                  v6.0.2  Swiftmailer, free feature-rich PHP mailer
symfony/console                          v3.4.3  Symfony Console Component
symfony/css-selector                     v3.4.3  Symfony CssSelector Component
symfony/debug                            v3.4.3  Symfony Debug Component
symfony/event-dispatcher                 v3.4.3  Symfony EventDispatcher Component
symfony/finder                           v3.4.3  Symfony Finder Component
symfony/http-foundation                  v3.4.3  Symfony HttpFoundation Component
symfony/http-kernel                      v3.4.3  Symfony HttpKernel Component
symfony/polyfill-mbstring                v1.6.0  Symfony polyfill for the Mbstring extension
symfony/polyfill-php56                   v1.6.0  Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions
symfony/polyfill-php70                   v1.6.0  Symfony polyfill backporting some PHP 7.0+ features to lower PHP versions
symfony/polyfill-util                    v1.6.0  Symfony utilities for portability of PHP codes
symfony/process                          v3.4.3  Symfony Process Component
symfony/routing                          v3.4.3  Symfony Routing Component
symfony/translation                      v3.4.3  Symfony Translation Component
symfony/var-dumper                       v3.4.3  Symfony mechanism for exploring and dumping PHP variables
teamtnt/laravel-scout-tntsearch-driver   v3.0.6  Driver for Laravel Scout search package based on https://github.com/teamtnt/tntsearch
teamtnt/tntsearch                        v1.3.0  A fully featured full text search engine written in PHP
theseer/tokenizer                        1.1.0   A small library for converting tokenized PHP source code into XML and potentially ...
thomaswelton/gravatarlib                 0.1.0   A lightweight PHP 5.3 OOP library providing easy gravatar integration.
thomaswelton/laravel-gravatar            1.1.3   Laravel 5 Gravatar helper
tightenco/ziggy                          v0.5.0  Generates a Blade directive exporting all of your named Laravel routes. Also provi...
tijsverkoyen/css-to-inline-styles        2.2.0   CssToInlineStyles is a class that enables you to convert HTML-pages/files into HTM...
twilio/sdk                               4.12.1  A PHP wrapper for Twilio's API
vlucas/phpdotenv                         v2.4.0  Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` auto...
webcraft/laravel-random                  1.0.0   Laravel 5 wrapper around ircmaxell/RandomLib
webmozart/assert                         1.2.0   Assertions to validate method input/output with nice error messages.
yajra/laravel-datatables-buttons         v3.1.2  Laravel DataTables Buttons Plugin.
yajra/laravel-datatables-html            v3.5.1  Laravel DataTables HTML builder plugin for Laravel 5.4+.
yajra/laravel-datatables-oracle          v8.3.2  jQuery DataTables API for Laravel 4|5

@jakebathman
Copy link
Collaborator

@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.

@the94air
Copy link

@jakebathman Sorry man, I was working on it yesterday but my PC has been stolen this morning and I can't get my hands on a PC right now. Sorry again for letting you down guys 😢

@jakebathman
Copy link
Collaborator

You're totally fine man, that sucks. Appreciate the help you've given so far.

@Mazeland
Copy link

Mazeland commented May 4, 2022

I Installed "htmlmin/htmlmin": "^9.0" and ziggy stopped working. Probably the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants