browser-detect icon indicating copy to clipboard operation
browser-detect copied to clipboard

Browser Detection for Laravel by hisorange!

Results 19 browser-detect issues
Sort by recently updated
recently updated
newest added

When I wanto call Browser facade methods, I get the below error. ![image](https://github.com/hisorange/browser-detect/assets/3600684/bd23ba39-e411-43a6-a689-78066a8c31c1)

Currently laravel have version 11 on dev stage, and developer can try, can you add support for laravel 11

I merged the tests to test combinations of Laravel 9, 10 and PHP 8.1 to 8.3. Also removed the `composer.lock` file as packages shouldn't have one.

## Plans for 6.0.0 - Expand on the capabilities with the Sec-CH-XX headers. - Use the new features from PHP 8.3

Enhancement

UA: `Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15` Output from the demo site (browser-detect.com): ``` isMobile => no isTablet => no isDesktop => yes...

I have some UA that were iPhone's or iPad's but that were reported false with ìsMac`. Eg: - Mozilla/5.0 (iPad; CPU OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like...

Enhancement

Thanks for this great package! I think it is a good idea if you would mention somewhere that the facade needs to be aliased. It would have helped me if...

I've just added "@mixin" phpdoc comment to \hisorange\BrowserDetect\Parser class that references to the \hisorange\BrowserDetect\Contracts\ResultInterface interface to provide better autocomplete when using the parser class since it uses the the __call...

Add tests for PHP 8.2, 8.3 and 8.4 + Laravel 9, 10, 11 and 12. Remove composer lock, as packages shouldn't have one. Removed the league/pipeline dependency and replaced it...

in `src/Stages/BrowserDetect.php` there is a typo in 2 places (lines 42 and 53) ```php $payload->setValue('isTable', false); ``` this fixes it