phpstan on AUR (Arch User Repository)

Last updated: November 26,2024

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

$ yay -S phpstan

* (Optional) Uninstall phpstan on Arch using YAY

$ yay -Rns phpstan

2. Manually Install "phpstan" via AUR

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

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

b. Clone phpstan's git locally

$ git clone https://aur.archlinux.org/phpstan.git ~/phpstan

c. Go to ~/phpstan folder and install it

$ cd ~/phpstan $ makepkg -si

3. Information about the phpstan package on Arch User Repository (AUR)

ID: 1134831
Name: phpstan
PackageBaseID: 161303
PackageBase: phpstan
Version: 1.8.4-1
Description: PHP Static Analysis Tool
URL: https://phpstan.org/
NumVotes: 1
Popularity: 9.0E-6
OutOfDate:
Maintainer: leo98
FirstSubmitted: 1609062235
LastModified: 1662248984
URLPath: /cgit/aur.git/snapshot/phpstan.tar.gz