Skip to content

Latest commit

 

History

History
95 lines (68 loc) · 4.16 KB

README.md

File metadata and controls

95 lines (68 loc) · 4.16 KB

Laravel

Stacked variables dumper | for Laravel-based application

Version PHP Version Build Status Coverage Downloads count License

Using this package you can dump any variables using \dev\dump() and \dev\dd() function without main process stopping or sending data to the standard output (last is required for running applications using RoadRunner).

Install

Require this package with composer using the following command:

$ composer require --dev avto-dev/stacked-dumper-laravel "^1.0"

Installed composer is required (how to install composer).

You need to fix the major version of package.

Usage

In any part of your application call \dev\dump() and/or \dev\dd(). That's all =)

RoadRunner use-case

For example, if you will try to dump('test'); in controller, you will see something like that:

worker error: invalid data found in the buffer (possible echo)

But, if you will use helpers provided by this package \dev\dump('test');, all will forks fine:

"test"

Testing

For package testing we use phpunit framework and docker-ce + docker-compose as develop environment. So, just write into your terminal after repository cloning:

$ make build
$ make latest # or 'make lowest'
$ make test

Changes log

Release date Commits since latest release

Changes log can be found here.

Support

Issues Issues

If you will find any package errors, please, make an issue in current repository.

License

This is open-sourced software licensed under the MIT License.