crazywhalecc / static-php-cli

Build standalone PHP binary on Linux, macOS, FreeBSD, Windows, with PHP project together, with popular extensions included.
https://static-php.dev
MIT License
1.3k stars 227 forks source link

【feature】 support UI extension #317

Open dbx192 opened 9 months ago

dbx192 commented 9 months ago

I really like the PHP language. Can I support this extension? I really enjoy developing UI tools in a PHP environment. If we can support this extension, we can package PHP programs directly into single file UI programs. It's really exciting to think about it.

UI extension url: https://www.php.net/manual/en/refs.ui.php https://github.com/krakjoe/ui

crazywhalecc commented 9 months ago

This library libui has not been updated for a long time, I guess it may not be easy to add. Mostly it lacks PHP8 support and I don't know if it makes sense to add it.

dbx192 commented 9 months ago

This library libui has not been updated for a long time, I guess it may not be easy to add. Mostly it lacks PHP8 support and I don't know if it makes sense to add it.

thank you for your reply. How about this : https://github.com/libui-ng/libui-ng https://github.com/ardillo-php/ext

crazywhalecc commented 9 months ago

I've only managed to get ardillo support done on macOS, albeit statically compiled, but I'm not sure what the minimum compatible system version is for it. #318

KingBes commented 6 months ago

https://github.com/0hr/php-webview