Download the PHP package oyhdd/laravel-stats without Composer

On this page you can find all versions of the php package oyhdd/laravel-stats. 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 laravel-stats

基于swoole实现的laravel模调系统扩展包

演示地址

一、简介

  一个利用 laravel 与 swoole 实现的模块调用监控系统,可以实时监控各模块和接口的请求情况,包括各接口的请求次数,成功次数,请求耗时,成功率等,从而可以监控系统各模块和接口是否异常,并且可以直观的看出其调用情况,除此之外,还可设置告警功能,包括微信、短信和邮件告警,实时掌控系统接口的调用情况。

二、演示截图

三.安装

1、若未安装 swoole 扩展,则可按如下方式安装:

2、在 laravel 项目根目录下执行:

  此模调系统的后台界面基于 laravel-admin 扩展实现,可便捷的进行二次开发。若未安装laravel-admin,则需要再执行如下命令,若已安装则可忽略。

3、发布资源文件、配置文件及初始化配置

  注:若文件已存在,可通过以下命令强制覆盖

  然后运行下面的命令完成安装:

  文件发布成功后,会生成配置文件config/statscenter.php

4、配置脚本

5、访问

  在浏览器打开{host}/admin 后即可访问

四、用法

1、原理

2、调用方式

调用示例可参看:tests\test.php

调用方式可参看已封装好的类:src\StatsCenter.php

  备注:若自行统计了请求耗时 $costTime,则可只调用

3、配置

  可在config/statscenter.php 配置文件中设置相关参数,包含swoole配置,模调相关配置和告警配置

Contact us

qq : 1040089624


All versions of laravel-stats with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0.0
encore/laravel-admin Version ^1.7
guzzlehttp/guzzle Version ^6.3
predis/predis 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 oyhdd/laravel-stats contains the following files

Loading the files please wait ....