php-cs-fixer on AUR (Arch User Repository)

Last updated: May 20,2024

1. Install "php-cs-fixer" 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-cs-fixer on Arch using YAY

$ yay -S php-cs-fixer

* (Optional) Uninstall php-cs-fixer on Arch using YAY

$ yay -Rns php-cs-fixer

2. Manually Install "php-cs-fixer" via AUR

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

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

b. Clone php-cs-fixer's git locally

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

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

$ cd ~/php-cs-fixer $ makepkg -si

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

ID: 1386753
Name: php-cs-fixer
PackageBaseID: 61894
PackageBase: php-cs-fixer
Version: 3.47.0-1
Description: Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible).
URL: https://github.com/PHP-CS-Fixer/PHP-CS-Fixer
NumVotes: 27
Popularity: 0.023053
OutOfDate:
Maintainer: bgaleotti
Submitter: bgaleotti
FirstSubmitted: 1344617608
LastModified: 1705410856
URLPath: /cgit/aur.git/snapshot/php-cs-fixer.tar.gz