We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3576c5b + 3ae1a49 commit 10bbf85Copy full SHA for 10bbf85
README.md
@@ -20,6 +20,28 @@ composer require wezom-agency/browserizr
20
21
---
22
23
+## Initalize
24
+
25
+> _* since 2.x version_
26
+> ___You must initialize the Browserizr before to use it___
27
28
+```php
29
+<?php
30
31
+// your app start code
32
+// ...
33
+use WezomAgency\Browserizr;
34
35
+// initialize Browserizr
36
+Browserizr::detect();
37
38
+// use Browserizr in your app
39
40
+?>
41
+```
42
43
+---
44
45
## API
46
47
### List of built-in tests
src/WezomAgency/Browserizr.php
@@ -136,6 +136,3 @@ public static function detect($custom_user_agent = null)
136
self::$is_desktop = !self::$is_mobile;
137
}
138
139
-
140
-// initial checkout
141
-Browserizr::detect();
0 commit comments