Phpcbf Installation On A Debian, Ubuntu, Kali, Fedora, Raspbian And MacOS

Phpcbf Installation On A Debian, Ubuntu, Kali, Fedora, Raspbian And MacOS

phpcbf

PHP, CSS and JavaScript coding standard analyzer and checker

Maintainer: Debian PHP PEAR Maintainers



Section: php

Install phpcbf

  • Debian apt-get install php-codesniffer Click to copy
  • Ubuntu apt-get install php-codesniffer Click to copy
  • Kali Linux apt-get install php-codesniffer Click to copy
  • Fedora dnf install php-pear-PHP-CodeSniffer Click to copy
  • Raspbian apt-get install php-codesniffer Click to copy
  • macOS brew install php-code-sniffer Click to copy

php-codesniffer

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.

php-pear-PHP-CodeSniffer

tool

php-code-sniffer

To install the latest version of phpcbf in your favorite operating system just copy the phpcbf installation command from above and paste it into terminal. It will download and install the latest version of phpcbf 2026 package in your OS.