Download the PHP package tkaratug/laravel-domain-whitelist without Composer
On this page you can find all versions of the php package tkaratug/laravel-domain-whitelist. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tkaratug/laravel-domain-whitelist
More information about tkaratug/laravel-domain-whitelist
Files in tkaratug/laravel-domain-whitelist
Package laravel-domain-whitelist
Short Description A domain wwhitelist checker middleware.
License MIT
Homepage https://github.com/tkaratug/laravel-domain-whitelist
Informations about the package laravel-domain-whitelist
Introduction
This package contains a middleware to check whether the origin domain is in the whitelist. If not it blocks the request.
Installation
You can install the package via composer:
You can publish the config file with:
This is the contents of the published config file:
Usage
Packages comes with DomainWhitelist
middleware. You can register it in $routeMiddleware
in app/Http/Kernel.php
file:
Use the middleware in any of your routes.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Turan Karatuğ
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-domain-whitelist with dependencies
spatie/laravel-package-tools Version ^1.4.3
illuminate/support Version ^8.0|^9.0|^10.0