Download the PHP package nine/dd without Composer

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

介绍

Laravel有一个非常方便的dd函数可以帮助我们更好的展示信息,不过输出对象时,没办法显示具体的类文件,也没有展示其方法。 但是Laraveldd函数设计的毕竟复杂,所以我就自己写了一个这样的包。

安装

  1. composer 安装

  2. 直接下载 clone 下来即可。

使用

  1. 如我在exapmle.php中所写,我们既可以直接使用:

同时也可以自己封装一个dd函数:

不管是哪种方式,他都会自动的识别我们的类型来予以不同的展示效果。

  1. decorator是一个装饰器层,用来装饰我们的效果。他可以实现一层一层的包装,就像我们用div标签来包裹住span标签一样。

  2. 此外,如果需要自己单独配置样式和新增装饰符号,可以在conf目录下根据所给的注释予以添加。

效果

  1. string

  1. array

  1. function

  1. object

todo

1. object

  1. 点击小三角的特效

All versions of dd with dependencies

PHP Build Version
Package Version
No informations.
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 nine/dd contains the following files

Loading the files please wait ....