PHP Classes
elePHPant
Icontem

Lua sandbox: Run Lua language code integrated with PHP code

Recommend this page to a friend!
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-11-03 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 172 All time: 8,026 This week: 915Up
Version License PHP version Categories
lua-sandbox 1.0MIT/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
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  
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  /  src  
File Role Description
Files folder imageWebPower (1 directory)

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

  Files folder image Files  /  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 LuaObjectProxy.php Class Class source
  Plain text file LuaSandbox.php Class Class source

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

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

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

  Files folder image Files  /  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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:172
This week:0
All time:8,026
This week:915Up