Git Product home page Git Product logo

laravel-dbug's Introduction

DBug

This is a laravel package that makes your variable dumps look nicer. The output is comparable to ColdFusion's cfdump.

Based off of dBug class https://github.com/ospinto/dbug

Installation

This will walk you through how to set up the package.

  1. Add the following to your composer.json under require:

"dlcrush/laravel-dbug": "~1.1.0"

  1. Composer update

  2. Add the Service Provider to the providers array in app/config/app.php

'dlcrush\DBug\DBugServiceProvider',
  1. Add alias in app/config/app.php
'DBug'			  => 'dlcrush\DBug\Facades\DBug',

Usage

To dump out a variable, do the following:

DBug::DBug($var);

To dump and then die, do the following:

DBug::DBug($var, true);

laravel-dbug's People

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

repat

laravel-dbug's Issues

composer require

Requiring dbug in composer.json doesn't work D:

Problem 1
- The requested package dlcrush/dbug could not be found in any version, ther
e may be a typo in the package name.

SCRPITS ISSUE

David,

in the Dbug.php

when you open <<<Scripts

the Scripts is not the first thing on that line so it errors

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.