A practical library for validation and normalization of data structures against a given schema with a smart & easy-to-understand API. In variable $schema we have a validation schema (what exactly this means and how to create it we will say later) and in variable $data we have a data structure that we want to validate and normalize. This can be, for example, data sent by the user through an API, configuration file, etc.
Features
- Documentation available
- It requires PHP version 8.0 and supports PHP up to 8.3
- The task is handled by the Nette\Schema\Processor class
- All standard PHP data types can be listed in the schema
- Custom Assertions
- You can add your own description for each assertion
Categories
JSONFollow nette Schema
Other Useful Business Software
99.99% Uptime for MySQL and PostgreSQL on Google Cloud
Cloud SQL Enterprise Plus gives you a 99.99% availability SLA with near-zero downtime maintenance—typically under 10 seconds. Get 2x better read/write performance, intelligent data caching, and 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server with built-in vector search for gen AI apps. New customers get $300 in free credit.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of nette Schema!