forked from GaretJax/phpbrowscap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request GaretJax#11 from DominikTo/master
added composer support to phpbrowscap
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"name": "garetjax/phpbrowscap", | ||
"type": "library", | ||
"description": "Standalone replacement for php's native get_browser() function", | ||
"keywords": ["get_browser", "browser", "capabilities"], | ||
"homepage": "http://github.com/GaretJax/phpbrowscap", | ||
"license": "MIT License", | ||
"authors": [ | ||
{ | ||
"name": "Jonathan Stoppani", | ||
"email": "jonathan.stoppani@gmail.com" | ||
} | ||
], | ||
"require": { | ||
"php": ">=5.3.0" | ||
}, | ||
"autoload": { | ||
"psr-0": { "phpbrowscap": "src/" } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
<?php | ||
|
||
namespace phpbrowscap; | ||
|
||
/** | ||
* Browscap.ini parsing class with caching and update capabilities | ||
* | ||
|