Skip to content

Instantly share code, notes, and snippets.

@nMustaki
Created November 19, 2012 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nMustaki/4111592 to your computer and use it in GitHub Desktop.
Save nMustaki/4111592 to your computer and use it in GitHub Desktop.
Quick try at composer.json file https://github.com/serbanghita/Mobile-Detect
{
"name": "serbanghita/mobile-detect",
"description": "Lightweight PHP class for detecting mobile devices",
"keywords": ["mobile", "mobile detect", "mobile detector", "mobile device"],
"homepage": "https://github.com/serbanghita/Mobile-Detect",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Serban Ghita",
"email": "serbanghita@gmail.com",
"homepage": "http://ghita.org"
}
],
"require": {
"php": ">=5.3.0"
},
"autoload": {
"psr-0": {
"Mobile_Detect": ""
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment