Atributos de ocultación de Laravel JSON

//Add the field into $hidden attribute of your Model
class MyModel extends Model
{
    protected $hidden = ['hidden_field_name'];
}
Tássio Auad