Was going to install a plugin with kirby plugin:install author/name and got the following error
PHP Fatal error: Cannot redeclare dump() (previously declared in /Users/xx/.composer/vendor/symfony/var-dumper/Resources/functions/dump.php:18) in /Users/xx/website/kirby/vendor/getkirby/toolkit/helpers.php on line 114
The only thing that could have messed things up is that I installed valet with composer some days ago, but I am not using it for this website.
If I do kirby update I get the same error as well.
@afincato If we don’t install the CLI globally but into its own separate folder and include the path in the $PATH variable (like I actually had it on my last Mac), we shouldn’t run into this conflict. See the CLI readme.
Edit: Just to let you know, I installed the CLI to another path, added the path to the $PATH variable and can now run both the CLI and Laravel Valet happily together.
Just a standard folder in my user folder, in this case it is stupidly called vendor, but could be renamed to anything more useful like kirby_cli or whatever you like.