Giter Site home page Giter Site logo

dawesi / mobile-detect Goto Github PK

View Code? Open in Web Editor NEW

This project forked from serbanghita/mobile-detect

0.0 1.0 0.0 4.01 MB

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

License: MIT License

PHP 99.77% Shell 0.23%

mobile-detect's Introduction

Mobile Detect

MobileDetect, PHP mobile detection class

Workflow status Latest tag Monthly Downloads Total Downloads MIT License

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.

Before you install

There are three versions of MobileDetect. 4.8.x is the main version that is ALWAYS going to be updated first.

Version Tests Namespace Code PHP Version Status
2.8.x 5x \Mobile_Detect 2.8 >=5.0,<7.0 Deprecated
3.74.x 7x Detection\MobileDetect 3.74 >=7.4,<8.0 LTS
4.8.x 7x Detection\MobileDetect 4.8 >=8.0 Current, Recommended

๐Ÿค Supporting

If you are using Mobile Detect open-source package in your production apps, in presentation demos, hobby projects, school projects or so, you can sponsor my work by donating a small amount ๐Ÿ‘. I'm currently paying for hosting and spend a lot of my family time to maintain the project and planning the future releases. I would highly appreciate any money donations.

Special thanks to:

  • the community ๐Ÿ‘ for donations, submitting patches and issues
  • the JetBrains team for the open-source licenses for PHPStorm IDE
  • Gitbook team for the open-source license for their technical documentation tool.

๐Ÿ“ƒ Documentation

The entire documentation is available on Gitbook: https://docs.mobiledetect.net

๐Ÿ‘พ Demo

Point your device to: https://demo.mobiledetect.net

๐Ÿ› Testing

vendor/bin/phpunit -v -c tests/phpunit.xml --coverage-html .coverage

๐Ÿค Contributing

Please see the Contribute guide for details.

๐Ÿ”’ Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

๐ŸŽ‰ Credits

mobile-detect's People

Contributors

serbanghita avatar garthi avatar nicktacular avatar eidng8 avatar darapa1 avatar jenssegers avatar lxlang avatar tluan95 avatar staabm avatar mbezhanov avatar bhamodi avatar sergeifilippov avatar deviavir avatar vlakoff avatar mikebe11 avatar hainuo avatar blankse avatar jbinfo avatar julienbornstein avatar hpbuniat avatar ossinkine avatar carusogabriel avatar h3xx avatar eugenyp avatar yangmin449 avatar simonschaufi avatar sheldon avatar spmartin823 avatar nextend avatar readmecritic avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.