SAN FRANCISCO — Employees wanting to sue their bosses for workplace violations were given an alternative route Monday that gets around the arduous task of gaining class certification under unfair competition laws.

By unanimous vote, the California Supreme Court ruled in two companion cases that employees need not meet class requirements if they seek civil penalties for themselves and others under the Labor Code Private Attorneys General Act of 2004, commonly called PAGA.