Download the PHP package extraswoft/tideways without Composer

On this page you can find all versions of the php package extraswoft/tideways. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package tideways

简介

本项目基于github上的swoft开源项目进行组件开发,扩展了一个swoft-tideways组件, tideways 是一个PHP性能被动分析工具,对php7支持良好,并且是非侵入式的监控 提供了火焰图,调用图和调用的完善记录

环境强制要求

  1. 必须PHP 7.1 +
  2. swoole版本必须大于等于4.0,并且按照swoft官方要求的要求安装
  3. mongodb.so
  4. tideaways.so, 安装方法可点击这里,官方文档非常详细

使用步骤

1.php.ini文件配置

2.安装中文版的xhgui

3.mongodb服务端增加索引 (xhprof是我们使用的库名,可根据需要变更)

4.增加一个xhgui的nginx配置文件,root 指向我们刚刚安装的xhgui-branch下面的webroot目录

注:xhgui支持php56,php7-fpm,需要启动一个fpm
注:若是在本地配置,记得配置hosts文件
注:若报错cache目录不可写,请给cache目录权限修改为777

5.给你的swoft项目引入组件

6.在config/beans 下面添加一个tideways.php文件

7.在config/properties/app.php 文件中添加如下信息

8.在.env 中添加如下信息

TIDEWAYS_ROOT 指向你安装的xhgui的路径
TIDEWAYS_START 确定你当前环境是否开启
TIDEWAYS_DB_HOST 配置mongodb
TIDEWAYS_DB_DB 使用的库

9.分析采样率的修改

在xhgui的config/config.default.php中,可设置采样命中次数

具体可参照下面例子

效果图

image

问题

1.现在tideways提供了sql的分析,但是mysql使用的是swoole的mysql客户端,无法记录


All versions of tideways with dependencies

PHP Build Version
Package Version
Requires swoft/http-message Version *
swoft/framework Version *
alcaeus/mongo-php-adapter Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package extraswoft/tideways contains the following files

Loading the files please wait ....