A teenager has been sentenced to more than five years in jail for a string of violent crimes while on bail, including fighting in a riot at last year's Moomba Festival.

Peter Paulino, 19, appeared at the County Court on Tuesday, charged over the riot and two home invasions in Melbourne's south-east.

Rioters during Moomba 2016. Credit:Russ Mulry

He was one of about 50 young people from the Apex, Young Connected Warriors and UK 2K gangs, who fought each other at Federation Square during the Moomba Festival in March 2016, the court heard.

Paulino was also involved with a group of up to seven children and young adults that broke into two homes while the occupants slept - a family with two children, and a group of overseas students - on April 23, 2016 in Brighton East and Ormond.