Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

Stacked variables dumper for Laravel-based application

License

Notifications You must be signed in to change notification settings

ArborXR/stacked-dumper-laravel

 
 

Repository files navigation

ARCHIVED 🛑

We've archived this fork because it's no longer in use now that avto-dev/stacked-dumper-laravel v1.6.0 has added support for Laravel 9.

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.

About

Stacked variables dumper for Laravel-based application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 88.2%
  • Makefile 8.6%
  • Dockerfile 3.2%