You probably need this: http://php.net/manual/en/function.mcrypt-encrypt.php cos as i understand you...
You need to declare due_date in array of $dates in the Eloquent model. Take a look at Illuminate\Da...
yeh...the groupBy is the actual problem. try to group by simbol_id or other field... test with raw...
You can always use DB::raw() as workaround.... i think something like this will work cos you needt r...
You simple check for value exists and then you make validation rules or not.... this should help you...