Giter Site home page Giter Site logo

hyperf-dump-server's Introduction

Hyperf Dump Server

Introduction

Bring Symfony's Var-Dump Server to Hyperf.

This package will give you a dump server, that collects all your dump call outputs, so that it does not interfere with HTTP / API responses.

中文文档 / Chinese document

Version Guide

Hyperf Framework version is 2.2.25 and below, please install version 1.2.x.

Hyperf Framework version is 2.2.26 and newer, please install version 1.3.x.

Hyperf Framework version is 3.0.x, please install version 2.0.x.

Hyperf Framework version is 3.1 and newer, please install version 2.1.x.

Install

Under your project folder and run the command in terminal:

composer require --dev qiutuleng/hyperf-dump-server

Publish the dump-server.php configuration file using vendor:publish command :

php bin/hyperf.php vendor:publish qiutuleng/hyperf-dump-server

Usage

Start the dump server by calling the hyperf command:

php bin/hyperf.php dump-server

You can set the output format to HTML using the --format option:

php bin/hyperf.php dump-server --format=html > dump.html

⚠️Do not use the dd method in your hyperf project, because it kills the Hyperf process, Use the dump method instead.

Reference

This extension package refers to the laravel-dump-server package released by beyondcode organization

Thank beyondcode organization and all its contributors for this great contribution.

License

The MIT License (MIT). Please see License File for more information.

hyperf-dump-server's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

hyperf-dump-server's Issues

Boolean dumps are returning the wrong value.

Hi. Great package!

I'm experiencing a problem in Hyperf 3.0. Boolean dumps are returning the wrong value. For example when I do this:

        $test = true;
        dump($test);

The dump is false

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.