How to Install and Uninstall php-sql-formatter Package on Ubuntu 21.10 (Impish Indri)

Last updated: April 27,2024

1. Install "php-sql-formatter" package

Please follow the step by step instructions below to install php-sql-formatter on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-sql-formatter

2. Uninstall "php-sql-formatter" package

Please follow the guidelines below to uninstall php-sql-formatter on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-sql-formatter $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-sql-formatter package on Ubuntu 21.10 (Impish Indri)

Package: php-sql-formatter
Architecture: all
Version: 1.2.17+dct1.1.1-1
Priority: optional
Section: universe/php
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian PHP PEAR Maintainers
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 80
Provides: php-doctrine-sql-formatter (= 1.1.0)
Depends: php-cli, php-common
Filename: pool/universe/p/php-sql-formatter/php-sql-formatter_1.2.17+dct1.1.1-1_all.deb
Size: 15532
MD5sum: a42d48695ddec19ea05de9bfea06a10f
SHA1: 68a480a1d30df5c0e1c76a238f543038b0a0be87
SHA256: cbbf49acc8bf77818dfb03e222e911f84d4381b26576b42eaa758f6f7819ca13
SHA512: 43f2169f40e4690fbe634898596bcb0eee9cc44ff34efa8b98283d7be60d77bbd83fc4427bb7ad6df134df681a6c9fa882b4df5e7ff2e3e9af84cd0dc7dfc799
Homepage: https://github.com/doctrine/sql-formatter
Description-en: a PHP SQL highlighting library
SqlFormatter is a lightweight PHP class to format SQL statements.
It can automatically indent and add line breaks in addition to syntax
highlighting.
Description-md5: bd0489d57efc409ce83770e4c3cf5cc8