PHPackages                             itox-gmbh/laravel-security - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. itox-gmbh/laravel-security

ActiveLibrary[Security](/categories/security)

itox-gmbh/laravel-security
==========================

Laravel security hardening package

0.0.2(1y ago)149[4 PRs](https://github.com/itox-gmbh/laravel-security/pulls)MITPHPPHP ^8.4CI passing

Since Apr 21Pushed 1mo agoCompare

[ Source](https://github.com/itox-gmbh/laravel-security)[ Packagist](https://packagist.org/packages/itox-gmbh/laravel-security)[ Docs](https://github.com/itox-gmbh/laravel-security)[ GitHub Sponsors]()[ RSS](/packages/itox-gmbh-laravel-security/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (13)Versions (8)Used By (0)

Laravel security hardening package
==================================

[](#laravel-security-hardening-package)

[![Latest Version on Packagist](https://camo.githubusercontent.com/950f1de0df51de445a222d4569739b1edd6eb80ed06b8a11660aec3c2f928e69/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69746f782d676d62682f6c61726176656c2d73656375726974792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/itox-gmbh/laravel-security)[![GitHub Tests Action Status](https://camo.githubusercontent.com/5e73d6be881b01e2b5f6999247ea36cff84ae86880b0c512d42cb2c71815f648/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f69746f782d676d62682f6c61726176656c2d73656375726974792f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/itox-gmbh/laravel-security/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d3952a57f3f8c93653cb4c8e17de0a62e8736737967eb25d8022c9f1fff9ad00/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f69746f782d676d62682f6c61726176656c2d73656375726974792f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/itox-gmbh/laravel-security/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/94f0ba5e1f874addf9376c2e1c64084ab340be3381d8bf96aa4be013d6176738/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69746f782d676d62682f6c61726176656c2d73656375726974792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/itox-gmbh/laravel-security)

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require itox-gmbh/laravel-security
```

You can publish and run the migrations with:

```
php artisan security:install
```

Usage
-----

[](#usage)

Change the security.php in your config folder to you needs

```
'enforceSSL' => true,
    'headers' => [
        'hsts' => true,
        'x-frame-options' => 'SAMEORIGIN',
        'x-content-type-options' => 'nosniff',
        'x-xss-protection' => '1; mode=block',
        'permissions-policy' => 'camera=(), microphone=(), geolocation=(), fullscreen=(self), payment=(), accelerometer=(), gyroscope=()',
        'feature-policy' => "camera 'none'; microphone 'none'; geolocation 'none'; fullscreen 'none'; payment 'none'; accelerometer 'none'; gyroscope 'none';",
    ],
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [IToX GmbH](https://github.com/itox-gmbh)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance72

Regular maintenance activity

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 79.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

2

Last Release

384d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/382a65f9f83191a28e4ab84140c998b39c4944d1364cfa156993867ebabfb0f2?d=identicon)[mwaurig](/maintainers/mwaurig)

---

Top Contributors

[![mwaurig](https://avatars.githubusercontent.com/u/70214373?v=4)](https://github.com/mwaurig "mwaurig (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelsecurityLaravel SecurityIToX GmbH

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/itox-gmbh-laravel-security/health.svg)

```
[![Health](https://phpackages.com/badges/itox-gmbh-laravel-security/health.svg)](https://phpackages.com/packages/itox-gmbh-laravel-security)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[spatie/laravel-csp

Add CSP headers to the responses of a Laravel app

8519.6M19](/packages/spatie-laravel-csp)[spatie/laravel-ciphersweet

Use ciphersweet in your Laravel project

416718.4k1](/packages/spatie-laravel-ciphersweet)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[ercsctt/laravel-file-encryption

Secure file encryption and decryption for Laravel applications

642.6k](/packages/ercsctt-laravel-file-encryption)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
