LaravelPackages.net
Acme Inc.
Toggle sidebar
tecpresso/laravel-x-frame-options

Add X-Frame-Options Header for laravel

5.922
3
1.0.1
About tecpresso/laravel-x-frame-options

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

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

Comments