serbanghita / Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.

Home Page:http://mobiledetect.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

3.74.x releases

staabm opened this issue · comments

Issue description

the readme talks about a 3.74 release version meant for use with php 7.3+, but it seems there is no release yet for it?
how should we use the lib in version 3.74?

| 3.74.xx | [![7x](https://github.com/serbanghita/Mobile-Detect/actions/workflows/7x.yml/badge.svg?branch=7.x)](https://github.com/serbanghita/Mobile-Detect/actions/workflows/7x.yml) | `Detection\MobileDetect` | [7.x](https://github.com/serbanghita/Mobile-Detect/tree/7.x) | >=7.3,<8.0 |

side note: the line above links to a 7.x branch which does not exist

@staabm not yet, I've asked the community how to proceed with the release [0] and I'm going to fix this today or tomorrow.
Thank you for pointing this out!

[0] #904 (comment)

@staabm if you don't mind, can you tell me your use case of Mobile Detect? (if you have any)

we are using mobile detect to render different html for some mobile cases.

I was checking whether its supported for php8, as we are in the process of updating our servers.
most of our stuff is already responsive, but I was checking here to get a feeling whether we can update for php8 compat, or we need to rework everything based on this lib with responsive html in a hurry :).

so for the mid-time future I hope we can get rid of this lib. sorry to say that, but I think it should not be required in a modern stack at all.

thx for maintaining it so, it was of big help in the past.

so for the mid-time future I hope we can get rid of this lib. sorry to say that, but I think it should not be required in a modern stack at all.

thanks for the use-case, I totally agree that this is not needed with good RWD

thank you

@serbanghita thx for the fix. does the project readme need an update, since it only talks about php 8.0 compat?