Formal:
* J'aime passer du temps avec mes amis. (This is the most literal translation and is very formal.)
Informal:
* J'adore être avec mes potes. (This is more colloquial and uses the slang term "potes" for friends.)
* J'aime bien traîner avec mes amis. (This is more casual and means "I like hanging out with my friends.")
* J'aime bien passer du temps avec mes amis. (This is similar to the formal version but slightly less formal due to the "bien".)
Other options:
* J'aime la compagnie de mes amis. (This literally translates to "I like the company of my friends.")
* J'aime me retrouver avec mes amis. (This means "I like meeting up with my friends.")
The best choice depends on the context and your relationship with the person you are speaking to.