Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

PHP plugin for asdf that uses PHP packages from AUR (Arch User Repository)

Notifications You must be signed in to change notification settings

pbogut/asdf-php-aur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

asdf-php-aur

PHP plugin for asdf for AUR users. It uses paru to install php versions form AUR repository, and allows you to use them with asdf.

Requirements

Installation

asdf plugin-add php https://github.com/pbogut/asdf-php-aur.git

Usage

Check asdf readme for instructions on how to install & manage versions.

Options

  • PHP_IGNORE_MODULES - you can use it to skip instalation of some additional modules. For example:
    PHP_IGNORE_MODULES="apc,xcache" asdf install php 53
    will install all PHP 5.3 modules from AUR but php53-apc and php53-xcache. If you don't want to install any modules you can use PHP_IGNORE_MODULES="all", you can also use that if you have all your required modules installed and just want to add them to asdf.

How it works

It installs selected php version from AUR using paru, and then creates symlinks for asdf to use.

Why?

asdf-php is nice but unfortunately some PHP versions not always compile and I don't think there is easy version to install extensions (I may be wrong). But the most annoying thing is that after few system updates eventually some lib is no longer compatible and php stops working and I can't easily update it.

I already have AUR packages for different PHP versions, so why don't use them? They are made for my system and I can keep them up to date with simple paru -Syu. They are updated with my system so they rarely get broken.

License

MIT License; The software is provided "as is", without warranty of any kind.

About

PHP plugin for asdf that uses PHP packages from AUR (Arch User Repository)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages