openxtrem/browscap

Standalone replacement for php's native get_browser() function

Installs: 40 092

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

pkg:composer/openxtrem/browscap

4.0.0 2025-09-23 21:21 UTC

This package is auto-updated.

Last update: 2025-09-30 11:37:53 UTC


README

About

Requires browscap/browscap-php packages, convert PHP_BrowscapINI into cache folder.
Contains browscap factory :

$bc = \OxBrowscap\BrowscapFactory::create();
$result = $bc->getBrowser();

How to update ?

git clone project
composer update
php src/update.php
git add .
git commit -m "XXX"
git push 
git tag X.X.X
git push --tags

How to tests ?

 vendor/bin/phpunit -c phpunit.xml

Need help ?

vendor/bin/browscap-php list

Issues

Add gitlab-ci.yml to auto update cache on schedules pipelines.