ash-jc-allen / short-url

A Laravel package for creating shortened URLs for your web apps.
MIT License
1.27k stars 161 forks source link

Compatibility issue with Laravel 11 #245

Closed iRaziul closed 7 months ago

iRaziul commented 7 months ago

I was trying to migrate my existing application to Laravel 11 but while trying to install this package I found it is not compatible yet.

image

ash-jc-allen commented 7 months ago

Hey @iRaziul, thanks for spotting this!

The package is compatible with Laravel 11, but it looks like you've got nesbot/carbon 3.1.1 installed in your project. But ashallendesign/short-url requires ~2.0. So running this command would have worked (but would have downgraded your nesbot/carbon version to ^2.0):

composer require ashallendesign/short-url -W

But I've just released ashallendesign/short-url v7.10.0 to support nesbot/carbon ^3.0. Hopefully that should solve the issue now, if you try and install the dependency as usual (without the -W flag) 😄

Release: https://github.com/ash-jc-allen/short-url/releases/tag/v7.10.0

iRaziul commented 7 months ago

Thanks ❤️‍🔥