I\'m building a RESTS like service in PHP that should accept a large JSON post as main data (I send and read the data much like discussed here: http://forums.laravel.io/view
According to php manual max_input_vars in php.ini role is:
How many input variables may be accepted (limit is applied to
$_GET,$_POSTand$_COOKIEsuperglobal separately). Use of this directive mitigates the possibility of denial of service attacks which use hash collisions. If there are more input variables than specified by this directive, anE_WARNINGis issued, and further input variables are truncated from the request. This limit applies only to each nesting level of a multi-dimensional input array.
You just have to attribute greater number to max_input_vars in your php.ini.