@raulmercadox Not sure this is what you meant but try this and let me know (you must have a belongsTo stage relationship defined in your Order model for this to work) :
Order::whereHas('stage', function ($query) {
$query->where('phase', 2);
})->get();
If phase is a string, just wrap the 2 in single quotes.