hide column from eloquent laravel code example
Example: laravel hide columns
<?php
class User extends Eloquent {
protected $hidden = array('password', 'token');
}
<?php
class User extends Eloquent {
protected $hidden = array('password', 'token');
}