It is not possible to hack a PS4 to play online for free.
Sites/people claiming free online via hacks are scams designed to steal your data or compromise your console.
Subscribe to PlayStation Plus for online multiplayer, cloud saves, free monthly games, and other benefits.