{"id":22278066,"url":"https://github.com/enflow/laravel-outdated-browser","last_synced_at":"2025-07-28T18:30:35.454Z","repository":{"id":44537637,"uuid":"315369405","full_name":"enflow/laravel-outdated-browser","owner":"enflow","description":"Add an outdated browser gate with ease","archived":false,"fork":false,"pushed_at":"2025-02-22T19:57:24.000Z","size":307,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-05T20:46:14.102Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enflow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"custom":"https://enflow.nl/contact"}},"created_at":"2020-11-23T16:08:58.000Z","updated_at":"2025-02-22T19:57:14.000Z","dependencies_parsed_at":"2023-12-25T22:23:57.868Z","dependency_job_id":"7cd9e35c-b664-434e-b6a0-d5fa5056897b","html_url":"https://github.com/enflow/laravel-outdated-browser","commit_stats":{"total_commits":17,"total_committers":4,"mean_commits":4.25,"dds":"0.17647058823529416","last_synced_commit":"b2715c6b6cd5d6886b76ab1a1db3de7028ab7936"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/enflow/laravel-outdated-browser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Flaravel-outdated-browser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Flaravel-outdated-browser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Flaravel-outdated-browser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Flaravel-outdated-browser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enflow","download_url":"https://codeload.github.com/enflow/laravel-outdated-browser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enflow%2Flaravel-outdated-browser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267563486,"owners_count":24108097,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-28T02:00:09.689Z","response_time":68,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T15:12:48.523Z","updated_at":"2025-07-28T18:30:35.085Z","avatar_url":"https://github.com/enflow.png","language":"PHP","funding_links":["https://enflow.nl/contact"],"categories":[],"sub_categories":[],"readme":"# Outdated browsers warnings\n  \n[![Latest Version on Packagist](https://img.shields.io/packagist/v/enflow/laravel-outdated-browser.svg?style=flat-square)](https://packagist.org/packages/enflow/laravel-outdated-browser)  \n![GitHub Workflow Status](https://github.com/enflow/laravel-outdated-browser/workflows/run-tests/badge.svg)  \n[![Total Downloads](https://img.shields.io/packagist/dt/enflow/laravel-outdated-browser.svg?style=flat-square)](https://packagist.org/packages/enflow/laravel-outdated-browser)  \n  \nThe `enflow/laravel-outdated-browser` package provides an easy way to warn your users about an outdated browser.\n\nThe user is presented with a full-screen page to encourage them to upgrade to a modern browser. They may skip this message and continue to view the website in their (crappy) browser.\n\n![Gate Example](./docs/gate.png)\n\n## Installation  \nYou can install the package via composer:  \n  \n``` bash  \ncomposer require enflow/laravel-outdated-browser  \n```  \n  \n## Usage  \nYou should add the `\\Enflow\\OutdatedBrowser\\OutdatedBrowserMiddleware` class to your `App\\Http\\Kernel` file.\n  \nAdd it to the bottom of the `web` group:  \n\n```php  \n'web' =\u003e [  \n ...,\n \\Enflow\\OutdatedBrowser\\OutdatedBrowserMiddleware::class,  \n],  \n```  \n  \n## Config  \n  \nPushing the config file by running:  \n``` bash  \nphp artisan vendor:publish --provider=\"Enflow\\OutdatedBrowser\\OutdatedBrowserServiceProvider\" --tag=config  \n```  \n  \n## Detector classes  \nA detector class can be specified via the config file, which should implement the `Enflow\\OutdatedBrowser\\Detector\\Detector` interface.   \n\nThis class is responsible for determining if the user should be presented with an outdated browser message.  \nBy default, the `UserAgentDetector` is used, which searches for the `outdated-browser.blocked_user_agent_regexes` key for regexes to match the user agent against. \n\nFor the `UserAgentDetector`, all users with Internet Explorer are presented with the gate. You may change the regexes to your need.\n  \n## Memory classes\nA memory class can be specified via the config file, which should implement the `Enflow\\OutdatedBrowser\\Memory\\Memory` interface.   \n\nThis class is responsible for checking if the user continued through the gate, and responsible for saving when the user pressed 'Proceed'.  \n  \n## Inspector classes\nA inspector class can be specified via the config file, which should implement the `Enflow\\OutdatedBrowser\\Inspector\\Inspector` interface.   \n\nThis class is responsible for checking the request and determining if now is the right time to show the 'outdated browser' gate. By default, the `FirstUserRequest` inspector is used, which will show the gate on the first GET request, excluding AJAX requests.\n  \n## View  \nYou may publish the `gate` view to overrule it's styling and make it your own:  \n\n```bash  \nphp artisan vendor:publish --provider=\"Enflow\\OutdatedBrowser\\OutdatedBrowserServiceProvider\" --tag=views  \n```  \n  \n## Testing  \n``` bash  \n$ composer test  \n```  \n  \n## Contributing  \nPlease see [CONTRIBUTING](CONTRIBUTING.md) for details.  \n  \n## Security  \nIf you discover any security related issues, please email michel@enflow.nl instead of using the issue tracker.  \n  \n## Credits  \n- [Michel Bardelmeijer](https://github.com/mbardelmeijer)  \n- [Ron Kesting](https://github.com/ronkesting)  \n- [All Contributors](../../contributors)  \n  \n## About Enflow  \nEnflow is a digital creative agency based in Alphen aan den Rijn, Netherlands. We specialize in developing web applications, mobile applications and websites. You can find more info [on our website](https://enflow.nl/en).  \n  \n## License  \nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenflow%2Flaravel-outdated-browser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenflow%2Flaravel-outdated-browser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenflow%2Flaravel-outdated-browser/lists"}