Re: [PECL-DEV] Publish Aerospike PHP extension to PECL

[email protected] (Remi Collet) Tue, 28 Nov 2023 09:45:54 +0100
Newsgroups php.pecl.dev
Message-ID <[email protected]>
Le 27/11/2023 à 20:36, Sachin Venkatesha Murthy a écrit :
> Hello!
> 
> I am Sachin, a developer at Aerospike. I maintain the PHP client for
> Aerospike. I'd like to introduce you to the Aerospike PHP client extension,
> a PHP SDK which is an extension written in Rust for the Aerospike NoSQL
> database system. This is a newer Aerospike PHP client that was built as a
> Rust extension to support PHP 8 and newer versions. It is designed to be
> efficient and reliable, providing a straightforward interface to interact
> with the Aerospike database from your PHP codebase.
> 
> *GitHub Repository: Aerospike PHP Client
> <https://github.com/aerospike/php-client>*
> 
> *Current Status:*
> 
> It is currently still in the alpha release stage but we plan on releasing
> the final version very soon. We had released it on packagist but we want to
> transition to PECL as soon as possible as it's the right way to install
> Rust/C based PHP extensions.

LICENSE file is missing

AFAIK, pecl command needs a config.m4 and build using
phpize && ./configure && make

A simple minimal config.m4 with a Makefile.frag should
be able to run what is need for cargo build

BTW, rust :(  ~800MB used for build

Remi

> 
> Documentation is provided in the Readme.md as well as php stubs with php
> docs are provided.
> 
> It would be great if this library could be accepted as a part of the PECL
> repository.
> 
> Thanks and Regards,
> 
> Sachin
>