Skip to content

Seikyo/browserslist

 
 

Repository files navigation

Browserslist

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

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.

Install

Via Composer

$ composer require buttress/browserslist

Usage

$listFactory = new BrowserslistFactory();
$browserslist = $listFactory->createWithData();

// Get the last version of every browser AND browsers with > 10% usage
$browsers = $browserslist('last 1 version, > 10%');

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

$ composer test

Contributing

Please see CONTRIBUTING and CONDUCT for details.

Security

If you discover any security related issues, please email korvinszanto@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

PHP browserslist port

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%