PHPackages                             arcanedev/sanitizer - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. arcanedev/sanitizer

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

arcanedev/sanitizer
===================

Sanitizer Helper

3.1.1(9y ago)612.7kMITPHPPHP &gt;=5.6.4

Since Nov 13Pushed 9y ago2 watchersCompare

[ Source](https://github.com/ARCANEDEV/Sanitizer)[ Packagist](https://packagist.org/packages/arcanedev/sanitizer)[ Docs](https://github.com/ARCANEDEV/Sanitizer)[ RSS](/packages/arcanedev-sanitizer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (3)Versions (15)Used By (0)

Sanitizer [![Packagist License](https://camo.githubusercontent.com/4479a03b6320b9344be4b10ecfdb9186879120e6ae70a09da863983d9151839b/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f617263616e656465762f73616e6974697a65722e7376673f7374796c653d666c61742d737175617265)](LICENSE.md) [![For PHP](https://camo.githubusercontent.com/cdc03b34bee04f3c6afe99b47173b09d65b92d88b04aded32b3b8cc5e12ecee9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d4672616d65776f726b25323061676e6f737469632d3446354239332e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Sanitizer) [![Laravel Supported](https://camo.githubusercontent.com/1155bd25aa2a2a22536fb2024e949cd2dd32c9b5fcb1a5aece4d5bddb1bfe550/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d352e78253743342e322d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Sanitizer)
==================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#sanitizer---)

[![Travis Status](https://camo.githubusercontent.com/6ce2f88b3ef86c8b7a75481bd2ed543de206a570f75e9b6fa127821c273b48bb/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f415243414e454445562f53616e6974697a65722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ARCANEDEV/Sanitizer)[![Coverage Status](https://camo.githubusercontent.com/37786c9faf4ba1e3f308743d350aa2a0fafc74ea4fb7fbf775494092c7a60986/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f415243414e454445562f53616e6974697a65722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/Sanitizer/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/905bfc6157747b8fcb96b2ee304bc68113919c4a8f5e476a69d8f73e4bf483fd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f415243414e454445562f53616e6974697a65722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ARCANEDEV/Sanitizer/?branch=master)[![SensioLabs Insight](https://camo.githubusercontent.com/dfb4d1eff147b7b334cc736318db37239b5775d6ed26880e89a08ad37d1301e2/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f64323766316265392d333238622d346362342d616336372d3237633130626131306332642e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/d27f1be9-328b-4cb4-ac67-27c10ba10c2d)[![Github Issues](https://camo.githubusercontent.com/2064ea6b2c743bda376bf138783ddcca691ed8cf3176e3e598801a660d933ddc/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f415243414e454445562f53616e6974697a65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/ARCANEDEV/Sanitizer/issues)

[![Packagist](https://camo.githubusercontent.com/fa6b73d7f125d02d886b94767662157500bc7c13938e75ec9c90d1a7739d3d55/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b6167652d617263616e656465762f73616e6974697a65722d626c75652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/sanitizer)[![Packagist Release](https://camo.githubusercontent.com/078a37897fbc6fe46d95d581b0b8d46b0ec4645e44e8c8cda1280462ca72573b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f617263616e656465762f73616e6974697a65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/sanitizer)[![Packagist Downloads](https://camo.githubusercontent.com/7dd252bf662c37c2087db48882480be789fb30b55fbe6765f56b9cff7cf2f684/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f617263616e656465762f73616e6974697a65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arcanedev/sanitizer)

*By [ARCANEDEV©](http://www.arcanedev.net/)*

The Sanitizer package provides an easy way to sanitize/format user inputs, through the provided filters or with custom ones that can easily be added to the base Sanitizer.

Feel free to check out the [releases](https://github.com/ARCANEDEV/Sanitizer/releases), [license](LICENSE.md), and [contribution guidelines](CONTRIBUTING.md).

### Features

[](#features)

- Easy setup &amp; configuration.
- Well documented &amp; IDE Friendly.
- Well tested with maximum code quality.
- Laravel `5.1 | 5.2 | 5.3` are supported.
- Made with ❤️ &amp; ☕.

Table of contents
-----------------

[](#table-of-contents)

1. [Requirements](1-Requirements.md)
2. [Installation and Setup](2-Installation-and-Setup.md)
3. [Configuration](3-Configuration.md)
4. [Usage](4-Usage.md)

Contribution
------------

[](#contribution)

Any ideas are welcome. Feel free to submit any issues or pull requests, please check the [contribution guidelines](CONTRIBUTING.md).

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [ARCANEDEV](https://github.com/arcanedev-maroc)
- [All Contributors](https://github.com/ARCANEDEV/Sanitizer/graphs/contributors)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~64 days

Recently: every ~110 days

Total

13

Last Release

3435d ago

Major Versions

1.0.4 → 2.0.02015-10-07

2.x-dev → 3.0.02015-10-08

PHP version history (4 changes)1.0.0PHP &gt;=5.4.0

2.0.0PHP &gt;=5.5.9

3.1.0PHP &gt;=5.6

3.1.1PHP &gt;=5.6.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9376707?v=4)[ARCANEDEV](/maintainers/arcanedev)[@ARCANEDEV](https://github.com/ARCANEDEV)

---

Top Contributors

[![arcanedev-maroc](https://avatars.githubusercontent.com/u/3282340?v=4)](https://github.com/arcanedev-maroc "arcanedev-maroc (98 commits)")

---

Tags

laraveldatasanitizerrulessanitiser

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arcanedev-sanitizer/health.svg)

```
[![Health](https://phpackages.com/badges/arcanedev-sanitizer/health.svg)](https://phpackages.com/packages/arcanedev-sanitizer)
```

###  Alternatives

[arondeparon/laravel-request-sanitizer

An easy to use request sanitizer that allows you to sanitize your form data before validating it.

112151.6k1](/packages/arondeparon-laravel-request-sanitizer)[resultsystems/validation

Inspired 'KennedyTedesco Validation' - The power of 'Respect Validation' on Laravel.

2832.4k4](/packages/resultsystems-validation)[iutrace/laravel-cuit-validator

Argentinian CUIT and CUIL Validator

1013.3k](/packages/iutrace-laravel-cuit-validator)

PHPackages © 2026

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