Looking to hire Laravel developers? Try LaraJobs

laravel-x-frame-options maintained by tecpresso

Description
Add X-Frame-Options Header for laravel
Author
Last update
2018/10/26 04:38 (dev-master)
License
Links
Downloads
5 941

Comments
comments powered by Disqus

X-Frame-Options for Laravel

Build Status Latest Stable Version Total Downloads License

This library gives "X-Frame-Options" to Laravel.

I have created this to avoid OWASP warnings

Install

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)

Configuration

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.

Usage

The library enabled automatically.

Testing

composer test

Lisence

MIT