PHILADELPHIA — Standout defensive tackle Fletcher Cox agreed Monday to a six-year contract with the Philadelphia Eagles that could earn him nine figures.

The first-round draft pick in 2012 has been a starter since midway in his rookie season. One of the NFL’s most versatile defensive linemen, he has 308 tackles and 22 sacks in his four pro seasons.

advertisement | advertise on newsday

Cox, 25, did not attend the team’s organized offseason activities, but returned to the team last week.

He comes off his best NFL season with 104 tackles (80 solo) and 9 1⁄2 sacks. He had three sacks against New Orleans in Week 5, a career high.