LuaSandbox

Lua interpreter with limits and safe environment


LuaSandbox is an extension for running untrusted Lua code within a PHP web request. Code is run in a stripped-down, safe environment. Time and memory limits can be set.

License: MIT

Latest releases

Version Release Download
4.0.2 2021-05-19 LuaSandbox-4.0.2.tgz
4.0.1 2021-03-10 LuaSandbox-4.0.1.tgz
4.0.0 2021-03-04 LuaSandbox-4.0.0.tgz
3.0.3 2018-10-11 LuaSandbox-3.0.3.tgz
3.0.2 2018-10-09 LuaSandbox-3.0.2.tgz
Show all releases

Changelog

Version Message
4.0.2 - Add config.w32 package.xml tarball (Closes #80850)
4.0.1 - Add missing file to package.xml tarball
4.0.0 - Add docbook documentation (for php.net)
- Flag optional and variadic parameters properly for PHP reflection
- Remove memory leaks in data_conversion.c
- Drop PHP5 and HHVM compatibility
- Add PHP 8 support
- Windows compilation fixes
3.0.3 - Fix ZTS build on PHP 7+ (Patch by Remi Collet)
3.0.2 - Fix PHP 7 object layout
- Initial PECL release
Show complete changelog