Download the PHP package lyhiving/debug without Composer

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

debug

简单的php调试库。

主要功能:

1、实现将受访URL、GET、POST、COOKIE、SESSION、SERVER等参数记录到文件。

2、log你想要log的内容。

3、提供dump、_dump两个常规函数以便日常调试。

4、增加命令行的支持

少啰嗦,先看东西

最简单版本

综合使用

web调试用

命令行调试用

安装

使用 Composer

用法

普通青年:

直接输出到当前目录下的debug.txt(其实你可以指定到任意可以写的位置)。

文艺青年:

加点GET、POST、使用log方法之类。

闷骚青年:

在页面直接调用dump或者_dump的, 其实这个一般是面向web的,所以一般不定义输出文件路径。

其中IA_ROOT常量可以不定义,这样你可以看到完整的路径。如果你正在使用微擎或者微赞,这个常量是自带的。可以帮忙隐藏网站的真实路径。不过都在调试了,还怕什么~~~

在全局范围内,允许用file的方法重新设置日志路径:

更多用法参考 examples/index.php 范例。

习惯用命令行的中年大叔:

常用办法没变,增加log_level使得可以根据需要使用,在某种程度而言,对于命令行开发会有比较好的输出控制。

在简单模式的情况下,输出的log直接可以复制使用,方便调试。

在全局范围内,允许用file的方法重新设置日志路径:

其中IA_ROOT常量可以不定义,这样你可以看到完整的路径。如果你正在使用微擎或者微赞,这个常量是自带的。可以帮忙隐藏网站的真实路径。不过都在调试了,还怕什么~~~

本文件部分来自 @dreamxyp , 我做了composer的适应、命令行兼容和部分冗余处理。


All versions of debug with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4
ext-gd Version *
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 lyhiving/debug contains the following files

Loading the files please wait ....