Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
browscap
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
browscap
Commits
0f4a17d9
Commit
0f4a17d9
authored
11 months ago
by
Viktor Holovachek
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3424822
- Update readme.md file
parent
7ff80bfa
No related branches found
No related tags found
1 merge request
!6
Issue #3424822 - Update readme.md file
Pipeline
#107730
passed with warnings
11 months ago
Stage: build
Stage: validate
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+31
-23
31 additions, 23 deletions
README.md
with
31 additions
and
23 deletions
README.md
+
31
−
23
View file @
0f4a17d9
# Browscap
Browscap provides an improved version of PHP's get_browser() function.
The get_browser() function can be used to tell what a visitor's browser is
...
...
@@ -12,36 +14,42 @@ limitations, namely:
Browscap automates maintenance by storing browser data in a database and
automatically retrieving the latest data on a configurable schedule.
Requirements
------------
For a full description of the module, visit the
[
project page
](
https://www.drupal.org/project/browscap
)
.
To submit bug reports and feature suggestions, or track changes in the
[
issue queue
](
https://www.drupal.org/project/issues/browscap
)
.
## Table of contents
-
Requirements
-
Installation
-
Configuration
-
Maintainers
## Requirements
Browscap requires that your server be able to "phone out" (make a http request)
to retrieve and update its user agent database.
This module requires no modules outside of Drupal core.
Note: Some hosting companies have this capability blocked.
Installation
------------
## Installation
Browscap can be installed via the standard Drupal installation process.
https://www.drupal.org/node/1897420
Install as you would normally install a contributed Drupal module. For further
information, see
[
Installing Drupal Modules
](
https://www.drupal.org/docs/extending-drupal/installing-drupal-modules
)
.
API
---
Modules can make use of browscap data by calling the browscap service
("
\D
rupal::service('browscap')->getBrowser();") anywhere they would otherwise
call the PHP get_browser()
(https://us3.php.net/manual/en/function.get-browser.php) function.
## Configuration
No
te: browser_name_regex is not return
ed.
No
configuration is need
ed.
Credits
-------
Development of Browscap is sponsored by Acquia (https://www.acquia.com) and the
Ontario Ministry of Northern Development and Mines (http://www.mndm.gov.on.ca).
## Maintainers
A special thanks goes out to Gary Keith (http://www.garykeith.com) who provides
regular updates to the browscap user agent database, and specifically for
adding a non-zipped CSV version of browscap to support this module.
-
Devin Carlson -
[
devin-carlson
](
https://www.drupal.org/u/devin-carlson
)
-
Greg Knaddison -
[
greggles
](
https://www.drupal.org/u/greggles
)
-
Matt Lucasiewicz -
[
lahoosascoots
](
https://www.drupal.org/u/lahoosascoots
)
-
Mike Ryan -
[
mikeryan
](
https://www.drupal.org/u/mikeryan
)
-
Viktor Holovachek -
[
AstonVictor
](
https://www.drupal.org/u/astonvictor
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment