masnathan/sql-query-formatter (packagist): A very lightweight PHP class that reformats unreadable and computer-generated SQL query statements to human-friendly, readable text.
Keywords: sql|parser|mysql|query|tokenizer|sql server|formatter|format|reformat