Add X-Frame-Options Header for laravel
tecpresso/laravel-x-frame-options is a Laravel package for add x-frame-options header for laravel.
It currently has 3 GitHub stars and 5.922 downloads on Packagist (latest version 1.0.1).
Install it with composer require tecpresso/laravel-x-frame-options.
Discover more Laravel packages by tecpresso
or browse all Laravel packages to compare alternatives.
Last updated
This library gives "X-Frame-Options" to Laravel.
I have created this to avoid OWASP warnings
composer require tecpresso/laravel-x-frame-options
This library corresponds to auto discovery
If you using laravel 5.4. you have to add the provider in the providers array (config/app.php)
Run command
php artisan vendor:publish
and select the Provider.
Then. generated config file in confog/x-frame-options .
You can edit rules for each path.
The library enabled automatically.
composer test
MIT