php-codesniffer on AUR (Arch User Repository)

Last updated: May 21,2024

1. Install "php-codesniffer" effortlessly via AUR with the help of a helper(YAY)

a. Install YAY (https://github.com/Jguer/yay)

$ sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

b. Install php-codesniffer on Arch using YAY

$ yay -S php-codesniffer

* (Optional) Uninstall php-codesniffer on Arch using YAY

$ yay -Rns php-codesniffer

2. Manually Install "php-codesniffer" via AUR

a. Ensure you have the base development tools and git installed with:

$ sudo pacman -S --needed base-devel git

b. Clone php-codesniffer's git locally

$ git clone https://aur.archlinux.org/php-codesniffer.git ~/php-codesniffer

c. Go to ~/php-codesniffer folder and install it

$ cd ~/php-codesniffer $ makepkg -si

3. Information about the php-codesniffer package on Arch User Repository (AUR)

ID: 1220594
Name: php-codesniffer
PackageBaseID: 38061
PackageBase: php-codesniffer
Version: 3.7.2-1
Description: PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files to detect and fix violations of a defined set of coding standards.
URL: http://pear.php.net/package/PHP_CodeSniffer/
NumVotes: 64
Popularity: 0.000697
OutOfDate:
Maintainer: sender
Submitter:
FirstSubmitted: 1276419633
LastModified: 1677842757
URLPath: /cgit/aur.git/snapshot/php-codesniffer.tar.gz