├── .github └── workflows │ └── tests.yml ├── .gitignore ├── LICENSE ├── composer.json ├── config └── security.php ├── phpunit.xml ├── pint.json ├── readme.md ├── src ├── ContentSecurityPolicyGenerator.php ├── Middleware │ └── RespondWithSecurityHeaders.php ├── Providers │ ├── ContentSecurityPolicyServiceProvider.php │ └── SecurityHeadersServiceProvider.php └── SecurityHeadersGenerator.php └── tests ├── ContentSecurityPolicyTest.php ├── MiddlewareTest.php ├── TestCase.php └── views └── view.blade.php /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/LICENSE -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/composer.json -------------------------------------------------------------------------------- /config/security.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/config/security.php -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/phpunit.xml -------------------------------------------------------------------------------- /pint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/pint.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/readme.md -------------------------------------------------------------------------------- /src/ContentSecurityPolicyGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/src/ContentSecurityPolicyGenerator.php -------------------------------------------------------------------------------- /src/Middleware/RespondWithSecurityHeaders.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/src/Middleware/RespondWithSecurityHeaders.php -------------------------------------------------------------------------------- /src/Providers/ContentSecurityPolicyServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/src/Providers/ContentSecurityPolicyServiceProvider.php -------------------------------------------------------------------------------- /src/Providers/SecurityHeadersServiceProvider.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/src/Providers/SecurityHeadersServiceProvider.php -------------------------------------------------------------------------------- /src/SecurityHeadersGenerator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/src/SecurityHeadersGenerator.php -------------------------------------------------------------------------------- /tests/ContentSecurityPolicyTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/tests/ContentSecurityPolicyTest.php -------------------------------------------------------------------------------- /tests/MiddlewareTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/tests/MiddlewareTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/therobfonz/laravel-security-headers/HEAD/tests/TestCase.php -------------------------------------------------------------------------------- /tests/views/view.blade.php: -------------------------------------------------------------------------------- 1 |