Comments (3)
Thanks, I will update the mobile detect lib, looks like in both cases it is already loaded with a newer version. Have to do a test to see if there is any breaking change for our case, and if not than I can just expand the version requirements.
from browser-detect.
New release 5.0.3 is available and now the mobile detect dependency is matching the latest 4.x version.
Thank you for your report, please update to the latest version for the solution.
Have a nice day!
from browser-detect.
We are also running into what we believe may be a similar issue - We're including Jetstream 4.3.2 and it has these dependency requirements:
"require": {
"ext-json": "*",
"illuminate/console": "^10.17",
"illuminate/support": "^10.17",
"laravel/fortify": "^1.19",
"mobiledetect/mobiledetectlib": "^4.8",
"php": "^8.1.0"
},
This is the output from our recent attempt to composer require browser-detect:
composer require hisorange/browser-detect -W
./composer.json has been updated
Running composer update hisorange/browser-detect --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- hisorange/browser-detect[0.9.1, ..., 0.9.2] require mobiledetect/mobiledetectlib 2.* -> found mobiledetect/mobiledetectlib[2.5.0, ..., 2.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- hisorange/browser-detect[1.0.1, ..., 1.0.4] require laravel/framework 4.* -> found laravel/framework[v4.0.0-BETA2, ..., 4.2.x-dev] but it conflicts with your root composer.json require (^10.28).
- hisorange/browser-detect[2.0.0, ..., 2.0.6] require illuminate/support ~5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- hisorange/browser-detect[dev-backport/3.x, 3.0.0, ..., 3.1.6] require laravel/framework ~5.0 -> found laravel/framework[v5.0.0, ..., 5.8.x-dev] but it conflicts with your root composer.json require (^10.28).
- hisorange/browser-detect[4.0.0, ..., 4.1.0] require laravel/framework ~6.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev] but it conflicts with your root composer.json require (^10.28).
- hisorange/browser-detect[4.2.0, ..., 4.5.4] require mobiledetect/mobiledetectlib ~2.8 -> found mobiledetect/mobiledetectlib[2.8.0, ..., 2.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- hisorange/browser-detect 4.2.2 requires php ^7.1 -> your php version (8.3.1) does not satisfy that requirement.
- hisorange/browser-detect[dev-stable, dev-develop, 5.0.0, ..., 5.0.2] require mobiledetect/mobiledetectlib ~3.74 -> found mobiledetect/mobiledetectlib[3.74.0, 3.74.2, 3.74.3, 3.74.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires hisorange/browser-detect * -> satisfiable by hisorange/browser-detect[dev-stable, dev-develop, dev-backport/3.x, 0.9.1, 0.9.2, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 2.0.0, 2.0.2, 2.0.6, 3.0.0, ..., 3.1.6, 4.0.0, ..., 4.5.4, 5.0.0, 5.0.1, 5.0.2, 9999999-dev].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require hisorange/browser-detect:*" to figure out if any version is installable, or "composer require hisorange/browser-detect:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
from browser-detect.
Related Issues (20)
- Undefined type 'hisorange\BrowserDetect\Contracts\ResultInterface'.
- isInApp returns true with Android Chrome Browser 102.0.5005.78 HOT 1
- Deprecation Message on PHP 8.1: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated
- Latest version has wrong user agent retriever HOT 2
- Doesn't detect certain mobile devices HOT 4
- Detect TWA or PWA request HOT 3
- Google-Safety and Google are not considered bots HOT 5
- Browser::isMac() does not seem to work on some UA with iPad/iPod/iPhone in it HOT 2
- macOS version info HOT 1
- Laravel 10/11 HOT 1
- PHP 8 and Laravel 10 HOT 2
- Fetal Error when using Browser::isAndroid() HOT 1
- iPad detection not working HOT 1
- For 6.0.0 HOT 1
- In App User Agents are showing as Tablets HOT 3
- Add support for Laravel 11 HOT 1
- Class "Spyc" not found error HOT 8
- Wrong detection HOT 1
- Make a note that the facade needs to be aliased
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from browser-detect.