Download the PHP package ideato/cloudfront-device-detect without Composer
On this page you can find all versions of the php package ideato/cloudfront-device-detect. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ideato/cloudfront-device-detect
More information about ideato/cloudfront-device-detect
Files in ideato/cloudfront-device-detect
Download ideato/cloudfront-device-detect
More information about ideato/cloudfront-device-detect
Files in ideato/cloudfront-device-detect
Vendor ideato
Package cloudfront-device-detect
Short Description Detect devices based on CloudFront caching headers
License MIT
Package cloudfront-device-detect
Short Description Detect devices based on CloudFront caching headers
License MIT
Please rate this library. Is it a good library?
Informations about the package cloudfront-device-detect
Cloudfront Device Detect 
Detect devices based on CloudFront caching headers. More info on CloudFront headers are available here.
How to use
$detector = new \CloudFrontDeviceDetect\Detector();
$detector->isDesktop();
$detector->isDesktopOrTablet();
$detector->isMobile();
$detector->isTablet();
$detector->isSmartTV();
$detector->isMobileOrTablet();
Helpers
If you want to use the library with default settings you can use helper functions as follows:
use CloudFrontDeviceDetect;
isDesktop();
isDesktopOrTablet();
isMobile();
isTablet();
isSmartTV();
isMobileOrTablet();
Requirements
PHP 7.1 or above
Authors
- Simone D'Amico [email protected]
- other contributors
License
The library is licensed under the MIT License
All versions of cloudfront-device-detect with dependencies
PHP Build Version
Package Version
No informations.
The package ideato/cloudfront-device-detect contains the following files
Loading the files please wait ...