Generate PHP validations that use Laravel from JS descriptions of the input data format