shetabit / visitor

a laravel package to work with visitors and retrieve their informations
MIT License
527 stars 68 forks source link

Laravel Jetstream compatability issue due to jenssegers/agent outdated dependency #54

Closed bdj-Razik closed 5 months ago

bdj-Razik commented 9 months ago

Laravel's Jetstream contributors have reworked the code base to avoid relying on the jenssegers/agent package that doesn't get maintained any more and instead uses the latest mobiledetect/mobiledetectlib.

Problem 1

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require shetabit/visitor:*" to figure out if any version is installable, or "composer require shetabit/visitor:^2.1" if you know which you need.

khanzadimahdi commented 9 months ago

could you please create a PR?

Linedev-Web commented 5 months ago

@khanzadimahdi @bdj-Razik Here's the PR to get Visitor working for Laravel 11. Please note that the package will no longer work for Laravel versions 5-6-7-8. Php >= 8 Link: https://github.com/shetabit/visitor/pull/58

khanzadimahdi commented 5 months ago

A new version released, please rely on v4.3.0