PHP Classes

Lua sandbox: Run Lua language code integrated with PHP code

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 184 All time: 8,670 This week: 84Up
Version License PHP version Categories
lua-sandbox 1.1MIT/X Consortium ...5.3PHP 5, Language
Description 

Author

This package can run Lua language code integrated with PHP code.

It can run given string or file of programming code of the Lua language using the PECL Lua extension.

It can call specific Lua functions from PHP, set and unset Lua variables, assign Lua objects, callback functions to PHP code, and handle Lua code execution errors.

Innovation Award
PHP Programming Innovation award nominee
November 2012
Number 3


Prize: One copy of RadPHP XE2
Lua is a scripting language that is very popular, especially for scripting games.

This class makes it easy to integrate PHP applications with existing Lua scripts.

Manuel Lemos
Picture of Christiaan Baartse
Name: Christiaan Baartse <contact>
Classes: 4 packages by
Country: The Netherlands The Netherlands
Age: 38
All time rank: 138738 in The Netherlands The Netherlands
Week rank: 197 Up4 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 3x

Details

LuaSandbox ========== [![Build Status](https://secure.travis-ci.org/Web-Power/luasandbox.png)](http://travis-ci.org/Web-Power/luasandbox) Sandbox to run user supplied code using the Lua language. Installation ------------ Run composer.phar require webpower/luasandbox Or add the following to your composer.json file "require": { "inlinestyle/inlinestyle": "1.0" }

  Files folder image Files (14)  
File Role Description
Files folder imagesrc (1 directory)
Files folder imagetests (1 directory)
Accessible without login Plain text file composer.json Data Documentation
Accessible without login Plain text file downloadAndCompileLua.sh Data Auxiliary data
Accessible without login Plain text file phpunit.xml.dist Data Auxiliary data
Accessible without login Plain text file readme.md Data Auxiliary data

  Files folder image Files (14)  /  src  
File Role Description
Files folder imageWebPower (1 directory)

  Files folder image Files (14)  /  src  /  WebPower  
File Role Description
Files folder imageLuaSandbox (7 files)

  Files folder image Files (14)  /  src  /  WebPower  /  LuaSandbox  
File Role Description
  Accessible without login Plain text file assignObject.lua Data Auxiliary data
  Plain text file Exception.php Class Class source
  Plain text file InvalidVariableNameException.php Class Class source
  Plain text file LuaErrorException.php Class Class source
  Plain text file LuaGlobals.php Class Class source
  Plain text file LuaObjectProxy.php Class Class source
  Plain text file LuaSandbox.php Class Class source

  Files folder image Files (14)  /  tests  
File Role Description
Files folder imageWebPower (1 directory)

  Files folder image Files (14)  /  tests  /  WebPower  
File Role Description
Files folder imageLuaSandbox (1 directory)

  Files folder image Files (14)  /  tests  /  WebPower  /  LuaSandbox  
File Role Description
Files folder imageTests (3 files)

  Files folder image Files (14)  /  tests  /  WebPower  /  LuaSandbox  /  Tests  
File Role Description
  Accessible without login Plain text file dumpGlobals.lua Data Auxiliary data
  Accessible without login Plain text file LuaModuleTest.php Test Unit test script
  Accessible without login Plain text file LuaSandboxTest.php Test Unit test script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:184
This week:0
All time:8,670
This week:84Up