SQL Formatter
A lightweight php class for formatting sql statements. Handles automatic indentation and syntax highlighting.
About
SqlFormatter is a lightweight PHP package designed to format SQL statements. It provides features such as automatic indentation, line breaks, and syntax highlighting, making SQL queries easier to read and debug. Users can choose to format SQL for HTML output or simply apply indentation without highlighting, catering to various output needs. Additionally, the package includes a method to compress SQL queries by removing comments and unnecessary whitespace.
Open Source Health
- Stars
- 1,865
- Forks
- 29
- License
- MIT
- Last commit
- 4 months ago
Resources & Links
Related Categories
Vendor
Doctrine
Publisher of Dbal, Migrations and SQL Formatter
Quick Links
Open Source
More by Doctrine
Related Products
The Algorithm
Source code for the X Recommendation Algorithm
Shared categories
Recommenders
TensorFlow Recommenders is a library for building recommender system models using TensorFlow.
Shared categories
RPG_KDD2025
This repository provides the code for implementing RPG described in our KDD'25 paper "Generating Long Semantic IDs in Parallel for Recommendation".
Shared categories
Pairec
A Go web framework for quickly building recommendation online services based on JSON configuration.
Shared categories
Textrank
TextRank implementation for Python 3.
Shared categories