PHP Classes

Laravel Agents Detector: Detect the browser type and store it model objects

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 43 All time: 10,860 This week: 488Up
Version License PHP version Categories
laravel-agents-detec 1.0.0MIT/X Consortium ...7.2HTTP, Databases, Libraries, PHP 7
Description 

Author

This class can detect the browser type and store its model objects.

It can parse the current browser user agent string to detect several browser details like the browser name, the operating system of the user machine, languages supported by the browser user, type of browser, browser machine details, etc...

The package can store the details of the detected browser in model objects, so it can load those details in a future request from another user access using the same browser.

Innovation Award
PHP Programming Innovation award nominee
August 2021
Number 7
Being able to detect the Web application user browser details may be important to let applications adapt to those details.

Detecting those details on every HTTP request sent to the application Web server is time-consuming.

This package can cache the detected user browser details using a Laravel model class. This way, it avoids performing the same steps to detect the user browser details on every HTTP request.

Manuel Lemos
Picture of Moamen Eltouny
  Performance   Level  
Innovation award
Innovation award
Nominee: 22x

 

Documentation

<p align="center"><a href="https://pharaonic.io" target="_blank"><img src="https://raw.githubusercontent.com/Pharaonic/logos/main/agents.jpg"></a></p>

<p align="center"> <a href="https://php.net" target="_blank"><img src="https://img.shields.io/static/v1?label=PHP&message=%3E=7.2&color=blue&style=flat-square" alt="PHP Version : >= 7.2"></a> <a href="https://laravel.com" target="_blank"><img src="https://img.shields.io/static/v1?label=Laravel&message=%3E=6.0&color=F05340&style=flat-square" alt="Laravel Version : >= 6.0"></a> <img src="https://img.shields.io/static/v1?label=License&message=MIT&color=brightgreen&style=flat-square" alt="License"> <a href="https://liberapay.com/Pharaonic" target="_blank"><img src="https://img.shields.io/liberapay/receives/Pharaonic?color=gold&label=Support&style=flat-square" alt="Support"></a> <br> <a href="https://packagist.org/packages/Pharaonic/laravel-agents-detector" target="_blank"><img src="https://img.shields.io/static/v1?label=Packagist&message=pharaonic/laravel-agents-detector&color=blue&logo=packagist&logoColor=white" alt="Source"></a> <a href="https://packagist.org/packages/pharaonic/laravel-agents-detector" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-agents-detector/v" alt="Packagist Version"></a> <a href="https://packagist.org/packages/pharaonic/laravel-agents-detector" target="_blank"><img src="https://poser.pugx.org/pharaonic/laravel-agents-detector/downloads" alt="Packagist Downloads"></a> </p>

<h3 align="center">Laravel Agents Detector provides an easy way to detect</h3> <h4 align="center">Devices, Operation Systems and Browsers.</h4> <br>

Documentation

You can find the detailed documentation here in Laravel Agents Detector Documentation.

Contributing

Thank you for considering contributing to this package! Be one of Pharaonic team.

Pharaonic Sponsors

We would like to extend our thanks to the following sponsors for funding Pharaonic packages development. If you are interested in becoming a sponsor, please visit the Pharaonic Liberapay page or Patreon page.

License

This package is an open-sourced software licensed under the MIT license.


  Files folder image Files (17)  
File Role Description
Files folder image.github (1 file)
Files folder imagesrc (1 file, 5 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:43
This week:0
All time:10,860
This week:488Up