Package Details: php-amqp 2.1.2-2

Git Clone URL: https://aur.archlinux.org/php-amqp.git (read-only, click to copy)
Package Base: php-amqp
Description: PHP extension compatible with AMQP 0-9-1 message brokers
Upstream URL: https://pecl.php.net/package/amqp
Licenses: PHP
Submitter: mtorromeo
Maintainer: travisghansen
Last Packager: travisghansen
Votes: 5
Popularity: 0.000000
First Submitted: 2012-04-19 16:42 (UTC)
Last Updated: 2025-12-18 18:38 (UTC)

Latest Comments

travisghansen commented on 2025-12-18 18:39 (UTC)

Thanks, I just bumped with your suggestions!

aragon123 commented on 2025-12-08 21:15 (UTC)

I compiled the extension for PHP 8.5 with the following patch:

diff --git a/PKGBUILD b/PKGBUILD
index 35fec0a..dcd74a3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,9 +10,13 @@ url="https://pecl.php.net/package/amqp"
 license=('PHP')
 depends=('librabbitmq-c')
 makedepends=('php')
-source=("http://pecl.php.net/get/$_extname-$pkgver.tgz")
+source=("http://pecl.php.net/get/$_extname-$pkgver.tgz" "https://github.com/php-amqp/php-amqp/pull/595.patch")
 backup=("etc/php/conf.d/$_extname.ini")
-sha256sums=('0cb16d63752a0055de55a22062a6c1744908696d92268d76181284669025d993')
+sha256sums=('0cb16d63752a0055de55a22062a6c1744908696d92268d76181284669025d993' 'SKIP')
+
+prepare() {
+    patch --directory="$srcdir/$_extname-$pkgver" --forward --strip=1 --input="$srcdir/595.patch"
+}

 build() {
        cd "$srcdir/$_extname-$pkgver"

But I have not tested the extension thoroughly, see here for the upstream PR: https://github.com/php-amqp/php-amqp/pull/595