PHPackages                             helga/helga - 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. helga/helga

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

helga/helga
===========

Validation at it's best - variables, forms and files

v0.10.1(2y ago)2611MITPHPPHP &gt;=7.0.0

Since Jan 1Pushed 2y ago1 watchersCompare

[ Source](https://github.com/phrenotype/helga)[ Packagist](https://packagist.org/packages/helga/helga)[ RSS](/packages/helga-helga/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (1)Versions (9)Used By (0)

Helga
=====

[](#helga)

[![github stars](https://camo.githubusercontent.com/31fb768d757bf2fd4c1d932dd85018c1bbe89af38111c3fcac935ded53f778b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f706872656e6f747970652f68656c67613f7374796c653d736f6369616c)](https://camo.githubusercontent.com/31fb768d757bf2fd4c1d932dd85018c1bbe89af38111c3fcac935ded53f778b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f706872656e6f747970652f68656c67613f7374796c653d736f6369616c)[![license](https://camo.githubusercontent.com/cd128e1b07de1feb8127c60e183469d148a66b497842dd9a5ffa1959cceef9db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f706872656e6f747970652f68656c6761)](https://camo.githubusercontent.com/cd128e1b07de1feb8127c60e183469d148a66b497842dd9a5ffa1959cceef9db/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f706872656e6f747970652f68656c6761)[![contributors](https://camo.githubusercontent.com/cd939483275a99e42a8c440dc56e3b7e6d07ec04a3e13e794b82bdde26d5cd08/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f706872656e6f747970652f68656c6761)](https://camo.githubusercontent.com/cd939483275a99e42a8c440dc56e3b7e6d07ec04a3e13e794b82bdde26d5cd08/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f706872656e6f747970652f68656c6761)[![code size](https://camo.githubusercontent.com/5a7853eb3a755ea8179bca7bc1060ff51239bb0d8bddcfbee37474294f7e62cb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f706872656e6f747970652f68656c6761)](https://camo.githubusercontent.com/5a7853eb3a755ea8179bca7bc1060ff51239bb0d8bddcfbee37474294f7e62cb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f636f64652d73697a652f706872656e6f747970652f68656c6761)

This is a library for validation with easy customization of error messages. It validates everything from variables to files. It is not limited to form validation.

It offers the surest way to safely upload files (especially images), even if they are improperly stored or included directly.

It has a clean free of unneccesary clutters.

Additionally, there are no external dependencies, apart from php, of course :).

Install
-------

[](#install)

`composer require helga/helga`

Usage
-----

[](#usage)

The most basic use is to validate single values.

```
