How do you validate data?

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • validation

    PHP Standalone Validation Library (by rakit)

  • I like https://github.com/rakit/validation which is basically a standalone clone of Laravel's validation.

  • JSON Schema

    PHP implementation of JSON schema. Fork of the http://jsonschemaphpv.sourceforge.net/ project

  • We use this JSON schema library to validate incoming HTTP requests. We sometimes share schemas across the backend and frontend (this is very nice), and we also generate API documentation using the schemas.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Cake Validation

    [READ-ONLY] Validation library from CakePHP. This repo is a split of the main code that can be found in https://github.com/cakephp/cakephp (by cakephp)

  • The cakephp/validation package. Blog post

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts