Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

paslandau/php-sandbox

Repository files navigation

DEPRECATED ⛔

This repository has been deprecated as of 2019-01-27. That code was written a long time ago and has been unmaintained for several years. Thus, repository will now be archived. If you are interested in taking over ownership, feel free to contact me.


php-sandbox

Build Status

A sandbox like implementation for executing PHP code with restriction to certain language constructs (functions etc.)

Description

Coming soon...

Basic Usage

Coming soon...

Examples

See examples folder.

Installation

The recommended way to install php-sandbox is through Composer.

curl -sS https://getcomposer.org/installer | php

Next, update your project's composer.json file to include php-sandbox:

{
    "repositories": [ { "type": "composer", "url": "http://packages.myseosolution.de/"} ],
    "minimum-stability": "dev",
    "require": {
         "paslandau/php-sandbox": "dev-master"
    }
    "config": {
        "secure-http": false
    }
}

Caution: You need to explicitly set "secure-http": false in order to access http://packages.myseosolution.de/ as repository. This change is required because composer changed the default setting for secure-http to true at the end of february 2016.

After installing, you need to require Composer's autoloader:

require 'vendor/autoload.php';

About

A sandbox-like implementation for executing PHP code with restriction to certain language constructs (functions etc.)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages