PHP form validation libraries provide popular PHP-based form components that can be used for building beautiful and efficient forms. You can also enable form validation, debugging, and lots more with this. An HTML form works with various input fields such as text boxes, checkboxes, radio buttons, checklists, submit buttons, and so on. These forms are used to input data from users and submit it to the web server for processing. They can be built using HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, etc. PHP validates entries at the server end, like the empty string, validate numbers, input length, validate URL, and so on. Validation rules also include checking whether all required fields have been filled and if the information is valid. Form validation has many uses to gather user information in any form of a website. Below are our 45 best PHP form validation libraries that are open source in 2021. jQuery-File-Upload is a file upload widget that enables multiple file selection, drag and drop, progress bar, validation and preview images, audio and video for jQuery, etc. It supports cross-domain, chunked, and resumable file uploads, and works with any server, like PHP, Ruby on Rails, Java, Node.js, Python, etc. Config, on the other hand, helps you find, load, autofill, combine, and validate configuration values from any source, be it YAML, XML, INI files, or a database. Another library, Form, is a component that allows you to create, process, and reuse HTML forms with ease.
jQuery-File-Uploadby blueimp
File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.
jQuery-File-Uploadby blueimp
PHP 31030 Version:Current License: Permissive (MIT)
EmailValidatorby egulias
PHP Email address validator
EmailValidatorby egulias
PHP 11122 Version:3.2.6 License: Permissive (MIT)
inflectorby doctrine
Doctrine Inflector is a small library that can perform string manipulations with regard to uppercase/lowercase and singular/plural forms of words.
inflectorby doctrine
PHP 11062 Version:2.0.6 License: Permissive (MIT)
assertby webmozart
Assertions to validate method input/output with nice error messages.
assertby webmozart
PHP 6548 Version:1.9.1 License: Permissive (MIT)
Validationby Respect
The most awesome validation engine ever created for PHP
Validationby Respect
PHP 5628 Version:2.3.0-RC License: Permissive (MIT)
configby symfony
Helps you find, load, combine, autofill and validate configuration values of any kind
configby symfony
PHP 4088 Version:v6.3.0 License: Permissive (MIT)
MISPby MISP
MISP (core software) - Open Source Threat Intelligence and Sharing Platform
MISPby MISP
PHP 4453 Version:v2.4.172 License: Strong Copyleft (AGPL-3.0)
htmlby LaravelCollective
HTML and Form Builders for the Laravel Framework
htmlby LaravelCollective
PHP 3893 Version:v6.4.0 License: Permissive (MIT)
framework-bundleby symfony
Provides a tight integration between Symfony components and the Symfony full-stack framework
framework-bundleby symfony
PHP 3347 Version:v6.3.0-RC2 License: Permissive (MIT)
options-resolverby symfony
Provides an improved replacement for the array_replace PHP function
options-resolverby symfony
PHP 3009 Version:v6.3.0-BETA3 License: Permissive (MIT)
CMB2by CMB2
CMB2 is a developer's toolkit for building metaboxes, custom fields, and forms for WordPress that will blow your mind.
CMB2by CMB2
PHP 2823 Version:v2.10.1 License: Strong Copyleft (GPL-3.0)
browser-kitby symfony
The BrowserKit component simulates the behavior of a web browser, allowing you to make requests, click on links and submit forms programmatically.
browser-kitby symfony
PHP 2765 Version:v6.2.7 License: Permissive (MIT)
formby symfony
Allows to easily create, process and reuse HTML forms
formby symfony
PHP 2617 Version:v6.3.0-RC1 License: Permissive (MIT)
Laravel-Phoneby Propaganistas
Phone number functionality for Laravel
Laravel-Phoneby Propaganistas
PHP 2175 Version:5.0.3 License: Permissive (MIT)
laravel-graphqlby folkloreinc
Facebook GraphQL for Laravel 5. It supports Relay, eloquent models, validation and GraphiQL.
laravel-graphqlby folkloreinc
PHP 1783 Version:Current License: No License
laravel-uuidby webpatser
Laravel package to generate and to validate a UUID according to the RFC 4122 standard. Only support for version 1, 3, 4 and 5 UUID are built-in.
laravel-uuidby webpatser
PHP 1760 Version:1.3 License: No License
Uploadby brandonsavage
File uploads with validation and storage strategies
Uploadby brandonsavage
PHP 1671 Version:1.3.2 License: Permissive (MIT)
laravel-form-builderby kristijanhusak
Laravel Form builder for version 5+!
laravel-form-builderby kristijanhusak
PHP 1671 Version:1.52.0 License: Permissive (MIT)
MLby RubixML
A high-level machine learning and deep learning library for the PHP language.
MLby RubixML
PHP 1812 Version:2.3.2 License: Permissive (MIT)
http-clientby symfony
Provides powerful methods to fetch HTTP resources synchronously or asynchronously
http-clientby symfony
PHP 1746 Version:v6.3.0 License: Permissive (MIT)
ardentby laravel-ardent
Self-validating, secure and smart models for Laravel's Eloquent ORM
ardentby laravel-ardent
PHP 1407 Version:3.6.0 License: Permissive (BSD-3-Clause)
valitronby vlucas
Valitron is a simple, elegant, stand-alone validation library with NO dependencies
valitronby vlucas
PHP 1518 Version:v1.4.11 License: Permissive (BSD-3-Clause)
utilsby nette
🛠 Lightweight utilities for string & array manipulation, image handling, safe JSON encoding/decoding, validation, slug or strong password generating etc.
utilsby nette
PHP 1731 Version:v4.0.0 License: Others (Non-SPDX)
security-csrfby symfony
Symfony Security Component - CSRF Library
security-csrfby symfony
PHP 1616 Version:v6.3.0-BETA1 License: Permissive (MIT)
mailcheckerby FGRibreau
:mailbox: Cross-language temporary (disposable/throwaway) email detection library. Covers 55 734+ fake email providers.
mailcheckerby FGRibreau
PHP 1469 Version:Current License: Permissive (MIT)
formerby formers
A powerful form builder, for Laravel and other frameworks (stand-alone too)
formerby formers
PHP 1327 Version:4.7.0 License: No License
spdx-licensesby composer
Tools for working with the SPDX license list and validating licenses.
spdx-licensesby composer
PHP 1376 Version:1.5.7 License: Permissive (MIT)
RubixMLby RubixML
A high-level machine learning and deep learning library for the PHP language.
RubixMLby RubixML
PHP 1160 Version:0.2.4 License: Permissive (MIT)
GUMPby Wixel
A fast, extensible & stand-alone PHP input validation class that allows you to validate any data
GUMPby Wixel
PHP 1151 Version:v2.0.0 License: Permissive (MIT)
laravel-jsvalidationby proengsoft
Laravel Javascript Validation
laravel-jsvalidationby proengsoft
PHP 1042 Version:v4.8.0 License: Permissive (MIT)
validatingby dwightwatson
Automatically validating Eloquent models for Laravel
validatingby dwightwatson
PHP 955 Version:Current License: Permissive (MIT)
moment.phpby fightbulc
Parse, validate, manipulate, and display dates in PHP w/ i18n support. Inspired by moment.js
moment.phpby fightbulc
PHP 905 Version:1.33.0 License: Others (Non-SPDX)
laravel-honeypotby spatie
Preventing spam submitted through forms
laravel-honeypotby spatie
PHP 1106 Version:4.3.2 License: Permissive (MIT)
Ushahidi_Webby ushahidi
Ushahidi v2. A platform that allows information collection, visualization and interactive mapping, allowing anyone to submit information through text messaging using a mobile phone, email or web form.
Ushahidi_Webby ushahidi
PHP 898 Version:2.7.4 License: Others (Non-SPDX)
rapyd-laravelby zofe
rapyd: crud widgets for laravel. datatable, grids, forms, in a simple package
rapyd-laravelby zofe
PHP 864 Version:2.6.3 License: Permissive (MIT)
laravel-smsby toplan
:iphone::heavy_check_mark:A phone number validation solution based on laravel
laravel-smsby toplan
PHP 841 Version:2.6.5 License: Permissive (MIT)
SCANNER-INURLBRby googleinurl
Advanced search in search engines, enables analysis provided to exploit GET / POST capturing emails & urls, with an internal custom validation junction for each target / url found.
SCANNER-INURLBRby googleinurl
PHP 853 Version:Current License: Strong Copyleft (GPL-2.0)
laravel-caffeineby GeneaLabs
Keeping Your Laravel Forms Awake.
laravel-caffeineby GeneaLabs
PHP 849 Version:10.0.0 License: Permissive (MIT)
laravel-heymanby imanghafoori1
Declarative style of authorization and validation in laravel.
laravel-heymanby imanghafoori1
PHP 871 Version:v2.2.55 License: Permissive (MIT)
laravel-user-verificationby jrean
PHP package built for Laravel 5.* & 6.* & 7.* & 8.* & 9.* & 10.* to easily handle a user email verification and validate the email
laravel-user-verificationby jrean
PHP 823 Version:v11.0.0 License: Others (Non-SPDX)
IsoCodesby ronanguilloux
PHP library - Validators for standards from ISO, International Finance, Public Administrations, GS1, Manufacturing Industry, Phone numbers & Zipcodes for many countries
IsoCodesby ronanguilloux
PHP 756 Version:2.2.0 License: Strong Copyleft (GPL-3.0)
php-pdftkby mikehaertl
A PDF conversion and form utility based on pdftk
php-pdftkby mikehaertl
PHP 836 Version:0.13.0 License: Permissive (MIT)
CraueFormFlowBundleby craue
Multi-step forms for your Symfony project.
CraueFormFlowBundleby craue
PHP 688 Version:Current License: Permissive (MIT)
phpbootby caoym
:coffee: 🚀 tiny & fast PHP framework for building Microservices/RESTful APIs, with useful features: IOC, Hook, ORM, RPC, Swagger, Annotation, Parameters binding, Validation, etc.
phpbootby caoym
PHP 656 Version:v2.1.1 License: Permissive (MIT)
laravel-url-signerby spatie
Create and validate signed URLs with a limited lifetime
laravel-url-signerby spatie
PHP 684 Version:3.0.1 License: Permissive (MIT)