cubicldev / php-structure-check Goto Github PK
View Code? Open in Web Editor NEWStructural check of arrays for PHP7.4+
Home Page: https://packagist.org/packages/cubicl/php-structure-check
Structural check of arrays for PHP7.4+
Home Page: https://packagist.org/packages/cubicl/php-structure-check
Compare the value with an expected value.
The NumericType
should check if a given value is either an integer or an float.
Check if a given value is a valid date time
Currently there is a EnumType missing which could be used to check data from a mysql database.
Add a validation for date types.
Checks the string value against a given regex.
In the error handling for datetime objects there is a possibility to run into a situation where $errors
is an integer and not an array.
Inside an ObjectType an OptionalType can work as a meta type. If a fields type ist wrapped inside an OptionalType it is not required to exist.
Set a specific range in which the value must be.
1.0.0...2.0.0#diff-5ed4b47731e717f07a3247ac037aae01d62130c3e5de65b167d7ed232447ef04
Added typed properties, which are PHP7.4 only, which makes the 2.0 release compatible with 7.4 only.
Maybe there could be a new 2.0.1 release with PHP7.4 as the requirement in the composer.json.
We need to check the count of items in an array.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.