traderinteractive / filter-php Goto Github PK
View Code? Open in Web Editor NEWA filtering implementation for verifying correct data and performing typical modifications to data.
License: MIT License
A filtering implementation for verifying correct data and performing typical modifications to data.
License: MIT License
Should support passing in an array of keys to values that should be translated. With an alternative syntax when you need to map null, or a non int/string to something.
somethik like in valitron lib.
eg. https://github.com/vlucas/valitron
You may use dot syntax to access members of multi-dimensional arrays, and an asterisk to validate each member of an array:
...
$v->rule('max', 'settings.*.threshold', 100);
I have an incoming data structure such as
{
'foo': [
0: [1,2,3],
2: [4,5]
3: [7,9]
]
}
foo
must exist and must be an array
. The keys of foo must be integers
between 0 - 6. but not all must be present. The values of foo
must be an array of integers
Would Arrays::ofScalars
handle this?
We need a way to specify a default value in the filter spec
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.