Download the PHP package baijunyao/laravel-print without Composer

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

介绍

laravel 中有个 dump 可以用来打印数据;

但是也存在这很多的不便利;
咱一条一条来吐槽哈;
撒气爱子:

  1. 打印出来的数据默认是折叠的;

    我打印数据果断是要看具体内容的;
    然鹅这还需要我们手动层层点开;
    想想也是心累;
  2. 打印模型时展示了太多的属性;

    当我们一层一层的剥开它的心后;
    终于才能在 attributes 中找到我们想要的数据;
    那么多的属性堆在这;
    给的再多不如懂我;
    看看也是眼累;
  3. chrome 调试 ajax 的时候不能正常展示打印的样式;

于是 laravel-print 横空出世;
无图言* ;

默认以数组的形式展示数据;
默认展开数据;
调试面板下的 Network 中的 Preview 完美展示;

安装使用

好了下面进入安装使用环节;

需要打印的时候使用 p($data) 代替 dump($data);
使用 pd($data) 代替 dd($data);

文章

开源项目系列之laravel-print以简洁的方式打印数据

链接


All versions of laravel-print 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 baijunyao/laravel-print contains the following files

Loading the files please wait ....