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.
http://mobiledetect.net
MIT License
10.55k stars 2.68k forks source link

[RFC] Move forward with PHP 5.3 and 7.x / 8.x #852

Closed serbanghita closed 3 years ago

serbanghita commented 3 years ago

The goal of the project is still "detect the mobile environment and separate tablets from phones".

Here are the changes that I'm about to perform in order to move the project further.

Steps

  1. devel branch is being deprecated and will move to branch 5.x. Content from 5.x will be mirrored to devel until we close all PRs and issues. From 5.x we will release tags 2.x.x for LTS of PHP 5.3
  2. create branch 7.x for supporting PHP7. Releases will have tags 3.x.x.
  3. create branch 8.x for supporting PHP8. Releases will have tags 4.x.x.

7.x and 8x changes

Mobile Detect for 7.x and 8.x will have some breaking changes:

serbanghita commented 3 years ago

Created new branches:

When 7.4 will be stable, it will become the default branch.

serbanghita commented 3 years ago

Will open a separate issue for 7.4 official release.