ensostudio / php-sandbox
The sandbox to test your PHP code online
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:SCSS
Type:project
Requires
- php: >=7.4.0
- ext-json: *
- friendsofphp/php-cs-fixer: ^3.9.5
- kint-php/kint: ^4.1.3
- slim/psr7: ^1.5.0
- slim/slim: ^4.10.0
- symfony/polyfill-php80: ^1.26.0
- symfony/polyfill-php81: ^1.26.0
- symfony/polyfill-php82: ^1.26.0
Requires (Dev)
- npm-asset/ace-builds: ^1.9.5
- npm-asset/bootstrap: ~5.1.3
- npm-asset/jquery: ^3.6.0
- phing/phing: 3.*
- phing/task-jsmin: dev-main
- phing/task-sass: dev-main
- roave/security-advisories: dev-latest
- scssphp/scssphp: dev-master
This package is auto-updated.
Last update: 2024-12-25 21:15:20 UTC
README
The sandbox to test your PHP code in Web browser.
REQUIREMENTS
The minimum requirement by this project that your server supports PHP 7.4 with JSON extension.
The sandbox apllication base on Slim framework and requires:
- Symfony PHP polyfills to write modern code
- Kint to dump variables
- PHP CS Fixer to format code style
The GUI bases on Bootstrap 5 and Ace editor.
INSTALLATION
If you do not have Composer, you may install it by following the instructions at getcomposer.org.
You can then install this project template using the following command:
composer create-project ensostudio/php-sandbox sandbox
Now you should be able to access the application through the following URL, assuming sandbox
is the directory
directly under the Web root and start build-in HTTP server:
composer run start
CUSTOMIZATION
Run Phing to re-build public assets:
composer run build