jdorn/sql-formatter
a PHP SQL highlighting library
v1.2.17
118M downloads/mo
#973 most downloaded on Packagist
jdorn/sql-formatter
What this package is like to depend on
Last release 13 years ago
no release in 18 months
Release timing varies
gaps range from 5 weeks to 7 months
Rarely documented
notes for 1 of 6 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
6 releases · first in 2012
0 releases in the last 12 months
see the full history below
Release timeline
6 releases · Oct 2012 to Jan 2014Releases
latest 6-
v1.2.1712 Jan 2014Nothing published for this version
-
v1.2.1627 Nov 2013Release notes
Open source →Summary of changes since last tagged release:
- Added
SqlFormatter::compressmethod for formatting queries on a single line. Useful for copy/pasting into the command line - Improved reserved word detection. For example,
countis only a reserved word when followed by parentheses now - More reserved words recognized
- Highlighting support for SQL variables and binary/hex numbers
- Better formatting of
LIMITclauses - Increased PHPUnit code coverage
- Performance improvements
- Better negative number formatting
- Added
-
v1.2.926 Apr 2013Nothing published for this version
-
v1.2.022 Dec 2012Nothing published for this version
-
v1.1.011 Nov 2012Nothing published for this version
-
v1.0.105 Oct 2012Nothing published for this version