ensostudio/php-sandbox
最新稳定版本:v1.0.3
Composer 安装命令:
composer create-project ensostudio/php-sandbox
包简介
The sandbox to test your PHP code online
README 文档
README
The sandbox to test your PHP code in Web browser.
- Extended autocomplete for constants, functions and classes/interfaces
- Helper functions to dump data and reflect functions/classes in readeable format
- Format code in PSR-12
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
Update bootstrap.php to change Kint options or add extra functions.
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-22
