greenlion/php-sql-parser
A pure PHP SQL (non validating) parser w/ focus on MySQL dialect of SQL
v4.7.0
13M downloads/mo
#1402 most downloaded on Packagist
greenlion/PHP-SQL-Parser
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 1.1 years
Most releases are documented
notes for 7 of 10 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
10 releases · first in 2014
0 releases in the last 12 months
see the full history below
Release timeline
10 releases · Apr 2014 to Dec 2024Releases
latest 10-
v4.7.002 Dec 2024Release notes
Open source →What's Changed
- Adds support for USING in JOIN clause by @czoIg in #364
- Handle TRUNCATE() function and TRUNCATE keyword. Issue #338. by @Herz3h in #339
- Added github actions to run phpunit tests by @xsist10 in #378
- Fix confusion between CHARACTER data type and CHARACTER SET issue by @xsist10 in #376
- Fix matrix build by @dmnlk in #389
- Feature/php84 compatible by @dmnlk in #391
New Contributors
Full Changelog: v4.6.0...v4.7.0
-
v4.6.009 Mar 2023Nothing published for this version
-
v4.5.001 Feb 2022Release notes
Open source →This PHP-SQL-Parser release, version 4.4.0, has been updated to improve compatibility with newer PHP versions. Several community contributions to the parser and creator are included as well.
What's Changed
- Upgrade to phpunit 9 by @nicoder in #350
- Corrected deprecated 3rd argument set to null in preg_split by @nabab in #346
- #347 fixes deprecation warning with PHP 8.1 by @garethellis36 in #349
- Fix support for orderByPosition (ORDER BY 1 ASC/ORDER BY 1 DESC) by @j-angnoe in #345
- remove
true,falsefrom reseved values by @tsukasa-mixer in #343 - Build User Varaiable Expression in FunctionBuilder by @Aramics in #340
New Contributors
- @garethellis36 made their first contribution in #349
- @j-angnoe made their first contribution in #345
- @tsukasa-mixer made their first contribution in #343
- @Aramics made their first contribution in #340
Full Changelog: v4.4.0...v4.5.0
-
v4.4.028 Mar 2021Release notes
Open source →This PHP-SQL-Parser release, version 4.4.0, has been updated to improve compatibility with newer PHP versions. Several community contributions to the parser and creator are included as well.
-
4.3.001 Jun 2019Release notes
Open source →This PHP-SQL-Parser release, version 4.3.0, has been updated to improve compatibility with newer PHP versions. Several community contributions to the parser and creator are included as well.
-
4.2.123 Dec 2018Release notes
Open source →This is a maintenance release incorporating numerous bug fix contributions from pull requests.
-
v4.1.216 May 2017Nothing published for this version
-
v4.1.112 Oct 2016Release notes
Open source →This is an minor update to take a contribution from a user, and to make sure 'master' is linked to a proper tag.
-
v4.1.008 Jul 2016Release notes
Open source →This release adds some additional SQL builder functionality like REPLACE and UNION in the FROM clause, as well as other improvements. There are a few bug fixes in the release, as well as contributions from a number of users via PR.
-
v4.0.016 Apr 2014Nothing published for this version