How to Install and Uninstall php-codesniffer Package on Kali Linux

Last updated: May 21,2024

1. Install "php-codesniffer" package

This guide let you learn how to install php-codesniffer on Kali Linux

$ sudo apt update $ sudo apt install php-codesniffer

2. Uninstall "php-codesniffer" package

This tutorial shows how to uninstall php-codesniffer on Kali Linux:

$ sudo apt remove php-codesniffer $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-codesniffer package on Kali Linux

Package: php-codesniffer
Version: 3.7.2-2
Installed-Size: 4389
Maintainer: Debian PHP PEAR Maintainers
Architecture: all
Depends: php-cli, php-common, php-xml
Size: 665404
SHA256: 15e4e4b312a741edc08387364a88eae86b45bd002fb0d794c5fbf6b572383c65
SHA1: 9910d007266b6052a8386f63cfbf9dd77fcbc758
MD5sum: e9bfb238bd1adf6d3cfa49dfb458bc52
Description: PHP, CSS and JavaScript coding standard analyzer and checker
PHP_CodeSniffer is a set of two PHP scripts; the main phpcs script that
tokenizes PHP, JavaScript and CSS files to detect violations of a defined
coding standard, and a second phpcbf script to automatically correct coding
standard violations. PHP_CodeSniffer is an essential development tool that
ensures your code remains clean and consistent.
Description-md5:
Homepage: https://github.com/squizlabs/PHP_CodeSniffer
Section: php
Priority: optional
Filename: pool/main/p/php-codesniffer/php-codesniffer_3.7.2-2_all.deb