diff --git a/testing/php8-pecl-amqp/APKBUILD b/testing/php8-pecl-amqp/APKBUILD
new file mode 100644
index 0000000000000000000000000000000000000000..953c7f3ff4367f7b9e4bc66b103b64806bf6deac
--- /dev/null
+++ b/testing/php8-pecl-amqp/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
+# Maintainer: Andy Postnikov <apostnikov@gmail.com>
+pkgname=php8-pecl-amqp
+_extname=amqp
+pkgver=1.10.2
+pkgrel=0
+pkgdesc="PHP 8 extension to communicate with any AMQP spec 0-9-1 compatible server - PECL"
+url="https://pecl.php.net/package/amqp"
+arch="all"
+license="PHP-3.01"
+depends="php8-common"
+makedepends="php8-dev rabbitmq-c-dev"
+_githash="df1241852b359cf12c346beaa68de202257efdf1"
+source="https://github.com/php-amqp/php-amqp/archive/$_githash.tar.gz"
+builddir="$srcdir/php-$_extname-$_githash"
+#source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
+#builddir="$srcdir/$_extname-$pkgver"
+
+build() {
+	phpize8
+	./configure --prefix=/usr --with-php-config=php-config8
+	make
+}
+
+check() {
+	# Tests require running AMQP server, so basic check
+	php8 -d extension="$builddir"/modules/$_extname.so --ri $_extname
+}
+
+package() {
+	make INSTALL_ROOT="$pkgdir" install
+	local _confdir="$pkgdir"/etc/php8/conf.d
+	mkdir -p $_confdir
+	echo "extension=$_extname" > $_confdir/40_$_extname.ini
+}
+
+sha512sums="196a6064780dccfedf2777eccb0835b45a391a181f9a8dd1368a3114b0c7e352af09ed228398b1aa736a76cff453cfa7fc218b763aedd28f0aa9f12901a8c745  df1241852b359cf12c346beaa68de202257efdf1.tar.gz"