for the 22/23 season the flyers have 8 contracts for 44+m on the books. the roughly 37m in cap space looks like a lot. but there are a few players the flyers might want to keep around, who need an extension beforehand or in the gaudreau ufa off-season.
hart is a no brainer. he is looked at the premier young goalie in the league. goalies normally sign bridge deals (~4m) off their ELC. the flyers might feel comfortable enough with hart to sign him long term (7m+). the other notable rfa's next off-season are sanheim and patrick. sanheim won't sign for less and to find a cheaper replacement for him will be difficult. it's conservative to reserve 4m for his extension or replacement. patrick's value at the end of this season is very difficult to gauge. so far he looks healthy and if he gets through the season without further injuries his game might catch up to his talent level. no call here.
the next year couturier, farabee and frost will come off their current deals. i assume couts will get paid, after being one of the best value contracts with his current deal. with no radical changes in his game 7 to 8m/yr sounds about a fair deal. i don't know farabee and frost well enough to project their progression two years into the future. flyers fans seem to be high on them, so bridge deals for both around 6m doesn't sound wrong to me.
team friendly extensions for hart, sanheim, couturier, farabee and frost will add at least 21m to their cap. the flyers would have 13 contracts and less than 16m in cap space without extending patrick. even adding gaudreau at 7m would be extremely difficult. counting on seattle to pick one of voracek, jvr or ghost to free up some cap space, is not a given or could cost a future asset. so trading for gaudreau with one of the above mentioned contracts going the other way might be the saver route for philly to add johnny hockey to their team.