marcelovani/3d_debugger

VR 3D Debugger

安装: 7

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 1

语言:Shell

类型:项目

dev-master 2018-06-01 13:49 UTC

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 的位置。
    • 请记住在 php.ini 中启用它
    [xhprof]
    extension=[path]/xhprof.so
    xhprof.output_dir="/tmp/xhprof"
    
  • 点(https://graphviz.cn/

    • 在 Mac OS 上: brew install graphviz

安装

  • 运行 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