dev-master
9999999-dev https://github.com/buttress/browserslistPHP Port of js browserslist
MIT
The Requires
- php ~5.6|~7.0
- tightenco/collect ^5.3
The Development Requires
buttress browserslist
Wallogit.com
2017 © Pedro Peláez
PHP Port of js browserslist
![Software License][ico-license]
![Coverage Status][ico-scrutinizer]
![Total Downloads][ico-downloads], (*1)
Browserslist is a tool that reports on current browsers based on data pulled from caniuse's browser statistics. This project is a PHP port of the JS library of the same name., (*2)
Via Composer, (*3)
``` bash $ composer require buttress/browserslist, (*4)
## Usage ``` php $listFactory = new BrowserslistFactory(); $browserslist = $listFactory->createWithData(); // Get the last version of every browser AND browsers with > 10% usage $browsers = $browserslist('last 1 version, > 10%');
Please see CHANGELOG for more information what has changed recently., (*5)
bash
$ composer test, (*6)
Please see CONTRIBUTING and CONDUCT for details., (*7)
If you discover any security related issues, please email korvinszanto@gmail.com instead of using the issue tracker., (*8)
The MIT License (MIT). Please see License File for more information., (*9)
PHP Port of js browserslist
MIT
buttress browserslist