{"repo":"KarpelesLab/goro","free":true,"listed":false,"github":"https://github.com/KarpelesLab/goro","clone":"git clone https://github.com/KarpelesLab/goro.git","description":"PHP in Go","language":"PHP","stars":695,"topics":["php","language","golang"],"license":"BSD-3-Clause","category":"dev-tools","readme_excerpt":"Goro PHP engine implemented in pure Go. Feature-complete for PHP 8.5 language features. Why? PHP is a nice language but is having trouble keeping up with modern languages. This implementation makes a number of things possible: Usage of goroutines, go channels, etc from within PHP Better caching of compiled code by allowing sharing of compiled or live objects (classes, objects, etc) between running PHP scripts Use Go's memory management within PHP Ability to run functions or code sandboxed (including filesystem via fs.FS ) to limit security risks Easily call the PHP engine from Go to execute pieces of PHP code (user provided or legacy) Install Status Goro passes 11,864 of 12,121 tests ( 97.9%) from the PHP 8.5.5 test suite ( 170 failures, 87 skipped in CI). PHP memory limit enforcement (128MB default). Includes PCRE2 via gopcre2, IANA timezones via gotz, and 10 extensions (session, xml, curl, gd, sockets, zlib, mysqli, sqlite3, bz2). Remaining test failures by area Area Failures Notes ------ ---------- ------- ext/date 51 DatePeriod serialization format, date parse edge cases, DST fallback transitions attributes 20 Reflection toString formatting, delayed target validation, AST printing exceptions 9 toString error location, variance autoload, stream wrappers closures 9 Closure const expressions, binding edge cases clone 6 AST printing, clone-with edge cases exit 5 exit() in custom SAPIs, disabling exit constexpr 5 Constant expression edge cases (new in defaults, array unpack) a","default_branch":null,"files":null,"tree":[],"storefront":"/r/KarpelesLab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/KarpelesLab/goro/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}