Informal:
* J'ai passé un super moment! (I had a great time!)
* J'ai bien rigolé! (I had a good laugh!)
* C'était génial! (It was awesome!)
* J'ai kiffé! (This is very informal, meaning something like "I loved it!")
Formal:
* J'ai passé un agréable moment. (I had a pleasant time.)
* J'ai beaucoup apprécié. (I enjoyed it very much.)
You can also use other expressions depending on the specific situation:
* J'ai adoré la soirée. (I loved the party.)
* C'était vraiment cool! (That was really cool!)
* J'ai bien aimé le concert. (I liked the concert.)
The best way to choose the right expression is to consider your audience and the context of the conversation.