X-Frame-Options for Laravel
This library gives "X-Frame-Options" to Laravel.
I have created this to avoid OWASP warnings
Install
composer require tecpresso/laravel-x-frame-optionsThis library corresponds to auto discovery
If you using laravel 5.4. you have to add the provider in the providers array (config/app.php)
Configuration
Run command
php artisan vendor:publishand select the Provider.
Then. generated config file in confog/x-frame-options .
You can edit rules for each path.
Usage
The library enabled automatically.
Testing
composer testLisence
MIT