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

Upgrading to Laravel 11 #254

Closed colivinggit closed 6 months ago

colivinggit commented 6 months ago

Hi,

I'm trying to upgrade to Laravel 11, but this issue occurs. Could you help?

Screenshot 2024-04-25 at 12 06 16
ash-jc-allen commented 6 months ago

Hey @colivinggit! Sorry that you're having issues with the package. I'm wondering if this is related to https://github.com/ash-jc-allen/short-url/issues/227?

Are you using Laravel Jetstream at the moment? If not, have you tried running the installation command using the -W flag like shown in the error message in your screenshot?

This might work:

composer require ashallendesign/short-url -W

I'm actually working on some changes for a new major version of Short URL that will be removing the jenssegers/agent package shortly 🙂

colivinggit commented 6 months ago

Thanks, that worked!

ash-jc-allen commented 6 months ago

Perfect, glad it worked! 😄