PHP Package: jdorn/sql-formatter

SQL Formatter is a PHP library that beautifies SQL queries for easier readability and debugging.

Current Version: 1.2.16
Last Updated: 2013-11-28
PHP Requirement: >=5.2.4
Dependencies: None

Package Description

SQL Formatter is a powerful PHP library designed to format SQL queries with ease. It helps developers maintain clean, organized code by indenting, highlighting syntax, and adding line breaks. This tool simplifies the process of working with complex SQL statements, making it ideal for database administrators and programmers who deal with intricate database operations on a regular basis.

🔗 View on GitHub

Download Latest Version: 1.2.16

Download Download v1.2.16

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com

require_once 'libs/jdorn/sql-formatter/1.2.16/loader.php';
use SqlFormatter\SqlFormatter;

$obj = new SqlFormatter();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.