libgit2 / php-git

PHP bindings for libgit2
http://libgit2.github.com
MIT License
565 stars 118 forks source link

PHP 8 #89

Open meiyasan opened 1 year ago

meiyasan commented 1 year ago

? :-)

saegusahiroki commented 1 year ago

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

meiyasan commented 1 year ago

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

saegusahiroki commented 1 year ago

Thanks xKZL san

RogerGee commented 1 year ago

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

meiyasan commented 1 year ago

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)

RogerGee commented 1 year ago

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...