[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-8174":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},8174,"Mobile-Detect","serbanghita\u002FMobile-Detect","serbanghita","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:\u002F\u002Fmobiledetect.net",null,"PHP",10683,2623,569,18,0,1,7,45,"MIT License",false,"4.x",true,[25,26,27,28,29],"device-detection","mobile-detect","mobile-redirects","php","user-agents","2026-06-12 02:01:50","![Mobile Detect](http:\u002F\u002Fdemo.mobiledetect.net\u002Flogo-github.png)\n\nMobileDetect, PHP mobile detection class\n========================================\n\n[![Build status](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fserbanghita\u002FMobile-Detect\u002F4.x-test.yml?branch=4.x&label=build&style=flat-square)](https:\u002F\u002Fgithub.com\u002Fserbanghita\u002FMobile-Detect\u002Factions\u002Fworkflows\u002F4.x-test.yml)\n[![Latest stable version](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fv\u002Fmobiledetect\u002Fmobiledetectlib?style=flat-square)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fmobiledetect\u002Fmobiledetectlib)\n[![Latest tag](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Ftag\u002Fserbanghita\u002FMobile-Detect?filter=4.*&style=flat-square)](https:\u002F\u002Fgithub.com\u002Fserbanghita\u002FMobile-Detect\u002Ftags)\n[![Monthly Downloads](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdm\u002Fmobiledetect\u002Fmobiledetectlib?style=flat-square&label=installs)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fmobiledetect\u002Fmobiledetectlib\u002Fstats)\n[![Total Downloads](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fdt\u002Fmobiledetect\u002Fmobiledetectlib?style=flat-square&label=installs)](https:\u002F\u002Fpackagist.org\u002Fpackages\u002Fmobiledetect\u002Fmobiledetectlib\u002Fstats)\n[![MIT License](https:\u002F\u002Fimg.shields.io\u002Fpackagist\u002Fl\u002Fmobiledetect\u002Fmobiledetectlib?style=flat-square)](https:\u002F\u002Fgithub.com\u002Fserbanghita\u002FMobile-Detect\u002Fblob\u002F4.x\u002FLICENSE)\n\nMobile Detect is a lightweight PHP class for detecting mobile devices (including tablets).\nIt uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.\n\n## Before you install\n\nMobileDetect is maintained on one rolling branch per major line. Tags follow the pattern `\u003Cmajor>.\u003Cminor>.\u003Cpatch>` and always live on the matching branch.\n\n| Version | Tests | Namespace                | Branch                                                          | PHP Version  | Purpose                  |\n|---------|-------|--------------------------|-----------------------------------------------------------------|--------------|--------------------------|\n| 2.*     | [![2.x tests](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fserbanghita\u002FMobile-Detect\u002F2.x-test.yml?branch=2.x&style=flat-square)](https:\u002F\u002Fgithub.com\u002Fserbanghita\u002FMobile-Detect\u002Factions\u002Fworkflows\u002F2.x-test.yml) | `\\Mobile_Detect`         | [`2.x`](https:\u002F\u002Fgithub.com\u002Fserbanghita\u002FMobile-Detect\u002Ftree\u002F2.x)  | \\>=5.6,\u003C7.0  | Deprecated               |\n| 3.*     | [![3.x tests](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fserbanghita\u002FMobile-Detect\u002F3.x-test.yml?branch=3.x&style=flat-square)](https:\u002F\u002Fgithub.com\u002Fserbanghita\u002FMobile-Detect\u002Factions\u002Fworkflows\u002F3.x-test.yml) | `Detection\\MobileDetect` | [`3.x`](https:\u002F\u002Fgithub.com\u002Fserbanghita\u002FMobile-Detect\u002Ftree\u002F3.x)  | \\>=7.4,\u003C8.0  | LTS                      |\n| 4.*     | [![4.x tests](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fserbanghita\u002FMobile-Detect\u002F4.x-test.yml?branch=4.x&style=flat-square)](https:\u002F\u002Fgithub.com\u002Fserbanghita\u002FMobile-Detect\u002Factions\u002Fworkflows\u002F4.x-test.yml)       | `Detection\\MobileDetect` | [`4.x`](https:\u002F\u002Fgithub.com\u002Fserbanghita\u002FMobile-Detect\u002Ftree\u002F4.x)  | \\>=8.2 (since 4.10.0, previously \\>=8.0) | Current, **Recommended** |\n\n## 🤝 Supporting\n\nIf you are using Mobile Detect open-source package in your production apps, in presentation demos, hobby projects, \nschool projects or so, you can sponsor my work by [donating a small amount :+1:](https:\u002F\u002Fwww.paypal.com\u002Fcgi-bin\u002Fwebscr?cmd=_donations&business=mobiledetectlib%40gmail%2ecom&lc=US&item_name=Mobile%20Detect&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted).  \n\nI'm currently paying for domains, hosting and spend a lot of my family time to maintain the project and planning the future \nreleases. I would highly appreciate any money donations.\n\nSpecial thanks to:\n\n* the community :+1: for donations, submitting patches and issues\n* [Gitbook](https:\u002F\u002Fwww.gitbook.com\u002F) team for the open-source license for their technical documentation tool.\n\n\n## 📃 Documentation\n\nThe entire documentation is available on Gitbook: [https:\u002F\u002Fdocs.mobiledetect.net](https:\u002F\u002Fdocs.mobiledetect.net)\n\n## 👾 Demo\n\nPoint your device to:\n[https:\u002F\u002Fdemo.mobiledetect.net](https:\u002F\u002Fdemo.mobiledetect.net)\n\n## 🐛 Testing\n\n``` bash\nvendor\u002Fbin\u002Fphpunit -v -c tests\u002Fphpunit.xml --coverage-html .coverage\n```\n\n## 🤝 Contributing\n\nPlease see the [Contribute guide](https:\u002F\u002Fmobile-detect.gitbook.io\u002Fhome\u002Fcontribute) for details.\n\n## 🔒  Security\n\nIf you discover any security related issues, please email serbanghita@gmail.com instead of using the issue tracker.\n\n## 🎉 Credits\n\n- [Serban Ghita](https:\u002F\u002Fgithub.com\u002Fserbanghita)\n- [All Contributors](https:\u002F\u002Fmobile-detect.gitbook.io\u002Fhome\u002Fcredits)\n","Mobile_Detect 是一个轻量级的 PHP 类，用于检测移动设备（包括平板电脑）。它通过结合 User-Agent 字符串和特定的 HTTP 头来识别移动环境。项目具有良好的版本管理和持续集成支持，确保了代码质量和稳定性。适用于需要根据用户访问设备类型进行响应式设计或内容优化的 Web 应用场景，如自适应网站布局、移动端重定向等。",2,"2026-06-11 03:16:35","top_language"]