Download the PHP package wezom-agency/browserizr without Composer
On this page you can find all versions of the php package wezom-agency/browserizr. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download wezom-agency/browserizr
More information about wezom-agency/browserizr
Files in wezom-agency/browserizr
Download wezom-agency/browserizr
More information about wezom-agency/browserizr
Files in wezom-agency/browserizr
Vendor wezom-agency
Package browserizr
Short Description Browserizr is tiny library, that detects your browser
License MIT
Package browserizr
Short Description Browserizr is tiny library, that detects your browser
License MIT
Please rate this library. Is it a good library?
Informations about the package browserizr
Browserizr PHP
Browserizr is tiny library, that detects your browser
with testing$_SERVER['HTTP_USER_AGENT']
.
that is PHP port of the JavaScript library WezomAgency/Browserizr
with several limitations...
Install
Prev versions
please read:
API
List of built-in tests
Browserizr::detect()->isAndroid()
Browserizr::detect()->isAndroid3()
Browserizr::detect()->isAndroid4()
Browserizr::detect()->isAndroid5()
Browserizr::detect()->isAndroid6()
Browserizr::detect()->isAndroid7()
Browserizr::detect()->isAndroid8()
Browserizr::detect()->isBlackberry()
Browserizr::detect()->isBlackberry10()
Browserizr::detect()->isEdge()
Browserizr::detect()->isEdgeAndroid()
Browserizr::detect()->isEdgeIOS()
Browserizr::detect()->isIE()
Browserizr::detect()->isIE8()
Browserizr::detect()->isIE9()
Browserizr::detect()->isIE10()
Browserizr::detect()->isIE11()
Browserizr::detect()->isIPad()
Browserizr::detect()->isIPod()
Browserizr::detect()->isIPhone()
Browserizr::detect()->isWindowsPhone()
Browserizr::detect()->isMoz()
Browserizr::detect()->isOpera()
Browserizr::detect()->isSafari()
Browserizr::detect()->isChrome()
Browserizr::detect()->isMobile()
Browserizr::detect()->isDesktop()
Usage examples:
Generate css classes
Browserizr::detect()->cssClasses($tests, $cssPrefix = "", $toString = true): array|string
Create string with CSS classes
Parameters:
Name | Data type | Default value | Description |
---|---|---|---|
$tests |
string[] |
array of wanted tests, each name - test name without is prefix |
|
$cssPrefix |
string |
"" |
custom prefix for CSS class name |
$toString |
bool |
true |
implode resulted array and return as string; |
Usage examples:
Set custom UserAgent
by default Browserizr use $_SERVER['HTTP_USER_AGENT']
you can set own string for UserAgent.
Note
if you needed to change agent - you must do it before use the Browserizr tests
All versions of browserizr with dependencies
PHP Build Version
Package Version
No informations.
The package wezom-agency/browserizr contains the following files
Loading the files please wait ....