Solve your laravel problems.
What is the best way to modify column name before retrieve data from the model, ex: change id to be uid
id
uid
$data = user::all(); //return array('uid'=>1,'uid'=>2 ... etc)
thanks,