-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Conflicts on new fresh laravel application (11.5) #474
Comments
Hey, @ces27. I haven't tried running the command, but just to ensure you don't get different conflicts than others, and, what conflicts you actually do get. |
@juse-less just got this myself... Your requirements could not be resolved to an installable set of packages. Problem 1 |
Yes, that's exactly the conflicts I had |
Hmm. Unfortunately I'm unable to replicate this one. I've attached a recording, where I'm running below command, and then just hit enter on each question for the default options. laravel new saloon-laravel-plugin-test && cd $_ && composer require saloonphp/laravel-plugin "^3.0" RecordingCleanShot.2025-01-05.at.04.49.05-converted.3.mp4In the recording, I'm running PHP 8.3, Laravel Installer 5.11.0, and Composer 2.8.4.
Is it possible to write down the steps you're taking, and version of software involved (like Composer, Laravel Installer, PHP, ...)? |
Here are some of my details:
I will work on seeing if I can reproduce, but I figure this might be helpful in the meantime. Especially if @ces27 has something in common. I only mentioned Windows and Powershell because it is my first time to ever use Windows for Laravel development without giving up in frustration. 🙂 |
Edit 2: Deleting this to avoid confusion. See my other comment. |
@juse-less here is a simple repo with the issue: https://github.com/jzpeepz/saloon-laravel-plugin-test Here is how I set it up:
|
@ces27 Here is how I got it working in my project. I updated my
to
Then I ran After that I ran Boom! |
@jzpeepz I'll have a look a bit later today. I'm scratching my head on this one a bit. One thing I didn't test was to clear my Composer cache, which I'll play with later. composer clear-cache I'll also try a few Linux-based machines, to see if there's anything different there. |
@jzpeepz I guess you can disregard my previous message. But that would explain why Composer really wanted to target Saloon 3.0, rather than 3.5. Just so you know, when installing the Laravel plugin, you don't need to install Saloon itself. Maybe the documentation needs some clarification around that. |
Thanks for your help on this one @juse-less it sounds like setting it to |
@Sammyjo20 I'm not quite sure what happened. saloonphp/laravel-plugin updated from saloonphp/saloon ^3.0 to ^3.5 in version 3.3, so it makes sense to not be able to install the Laravel Plugin 3.3 and above. But I'm still curious why the output is for Laravel Plugin 3.0.0, rather than, say, 3.2.0.
It couldn't resolve a version of all constraints. Hopefully this is the issue for @ces27, as well. But ultimately; install saloonphp/saloon, or, saloonphp/laravel-plugin. |
composer require saloonphp/laravel-plugin "^3.0" does not work anymore on Laravel 11.5 version, giving conflicts.
The text was updated successfully, but these errors were encountered: