Download the PHP package growats/ok-nic-owasp-security without Composer
On this page you can find all versions of the php package growats/ok-nic-owasp-security. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download growats/ok-nic-owasp-security
More information about growats/ok-nic-owasp-security
Files in growats/ok-nic-owasp-security
Download growats/ok-nic-owasp-security
More information about growats/ok-nic-owasp-security
Files in growats/ok-nic-owasp-security
Vendor growats
Package ok-nic-owasp-security
Short Description A Laravel package for OWASP security best practices
License MIT
Package ok-nic-owasp-security
Short Description A Laravel package for OWASP security best practices
License MIT
Please rate this library. Is it a good library?
Informations about the package ok-nic-owasp-security
Laravel OWASP Security Package
Introduction
ok-nic-owasp-security
is a Laravel package that implements OWASP security best practices, including:
- Secure HTTP headers
- Cross-Site Scripting (XSS) protection
- SQL Injection mitigation
- Rate limiting
- Cross-Origin Resource Sharing (CORS) protection
Installation
Install the package using Composer:
composer require Growats/ok-nic-owasp-security
##Publish Configuration
php artisan vendor:publish --tag=owasp-security
This will create the configuration file at:
config/owasp-security.php
## Register Middleware
Add the middleware to app/Http/Kernel.php under $middleware:
protected $middleware = [
\Growats\OkNicOwaspSecurity\Middleware\SecurityHeaders::class,
\Growats\OkNicOwaspSecurity\Middleware\XssSanitization::class,
\Growats\OkNicOwaspSecurity\Middleware\RateLimiting::class,
\Growats\OkNicOwaspSecurity\Middleware\SqlInjectionProtection::class,
\Growats\OkNicOwaspSecurity\Middleware\CorsProtection::class,
];
Middleware Explanation | Middleware Description
SecurityHeaders | Adds security headers (CSP, HSTS, XSS Protection)
XssSanitization | Strips malicious scripts from input
RateLimiting | Limits excessive requests to prevent DoS attacks
SqlInjectionProtection | Blocks common SQL injection patterns
CorsProtection | Restricts cross-origin requests
All versions of ok-nic-owasp-security with dependencies
PHP Build Version
Package Version
No informations.
The package growats/ok-nic-owasp-security contains the following files
Loading the files please wait ....