php-git icon indicating copy to clipboard operation
php-git copied to clipboard

PHP 8

Open meiyasan opened this issue 2 years ago • 6 comments

? :-)

meiyasan avatar Apr 11 '23 13:04 meiyasan

PHP8に対応したライブラリの開発はもうないのでしょうかね?

saegusahiroki avatar Apr 23 '23 03:04 saegusahiroki

I dont think so.. this is a pity the official project is now dead. I found this repository as an alternative, but php8 is not working yet : https://github.com/RogerGee/php-git2

meiyasan avatar Apr 24 '23 06:04 meiyasan

Thanks xKZL san

saegusahiroki avatar May 21 '23 10:05 saegusahiroki

PHP 8 is working now! https://github.com/RogerGee/php-git2

RogerGee avatar Sep 04 '23 04:09 RogerGee

Congrats ! Thank you so much @RogerGee for this great work ! I will definitely use it in my projects :) Any chance to make it even more official and ship it into php next versions as any other php extension ? (I don't know how php consortium is organized xD)

meiyasan avatar Sep 06 '23 00:09 meiyasan

I'm not sure php-git2 meets the criteria to be included with php-src; plus, it's nice for it to have its own repository for versioning/history. However, you can compile your own PHP with git2 built-in in case you wanted to avoid having to keep track of shared library installations. You can also static link libgit2 when building the extension.

I may try to publish on PECL/Pear, though I'm not really sure if it's still active these days...

RogerGee avatar Sep 12 '23 03:09 RogerGee