Justin Bieber played Miami nice with the photog who sued him over a scrap with his bodyguard -- they've reached a settlement agreement.
As you may recall ... Jeffrey Binion claimed Biebs ordered his hired muscle to beat him up and steal his camera's memory card.
The suit got a lot of attention after Bieber's videotaped deposition was leaked to TMZ. Bieber had a fit when the photog's lawyer asked him about then-GF, Selena Gomez.
The terms of the settlement are sealed.