marcelovani / 3d_debugger
VR 3D Debugger
dev-master
2018-06-01 13:49 UTC
Requires
- composer/installers: ~1.0
- marcelovani/xhprof: dev-master
- marcelovani/xhprof3d: dev-master
- mbostock/d3: ^3.5.17
- mouf/nodejs-installer: ~1.0
This package is auto-updated.
Last update: 2020-01-06 01:42:00 UTC
README
需求
-
PHP Xhprof
- 在 Mac Os 上
- 使用 Brew,例如
brew install homebrew/php/php55-xhprof
- 使用 Port
port install php55-xhprof
然后执行port contents php55-xhprof
以显示 xhprof.so 的位置。
- 使用 Brew,例如
- 请记住在 php.ini 中启用它
[xhprof] extension=[path]/xhprof.so xhprof.output_dir="/tmp/xhprof"
- 在 Mac Os 上
-
- 在 Mac OS 上:
brew install graphviz
- 在 Mac OS 上:
安装
- 运行
composer create-project marcelovani/3d_debugger -s dev
- 按照 vendor/marcelovani/xhprof/INSTALL 中的安装步骤进行操作。创建 config.php,设置您的数据库凭据。
- 创建一个虚拟主机并将其指向 docroot vendor/marcelovani/xhprof/xhprof_html。
- 将 xhprof 添加到您的代码中。请参阅 vendor/marcelovani/xhprof/examples/sample.php。