Closed bdj-Razik closed 5 months ago
could you please create a PR?
@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
A new version released, please rely on v4.3.0
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.