Skip to content

Commit

Permalink
Merge pull request GaretJax#11 from DominikTo/master
Browse files Browse the repository at this point in the history
added composer support to phpbrowscap
  • Loading branch information
GaretJax committed Feb 8, 2012
2 parents 8dd776a + 200efc6 commit bf4d0c9
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Browscap is a standalone class for PHP5 that gets around the limitations of
It offers methods to update, cache, adapt and get details about every supplied
user agent on a standalone basis.

Browscap is a [Composer](http://packagist.org/about-composer) package.


Quick start
-----------
Expand Down
20 changes: 20 additions & 0 deletions composer.json
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/" }
}
}
2 changes: 2 additions & 0 deletions browscap/Browscap.php → src/phpbrowscap/Browscap.php
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
*
Expand Down

0 comments on commit bf4d0c9

Please sign in to comment.