2017 © Pedro Peláez
 

library simple-php-debug

Simple PHP Debug, better output and write log.

image

wilon/simple-php-debug

Simple PHP Debug, better output and write log.

  • Wednesday, August 16, 2017
  • by wilon
  • Repository
  • 1 Watchers
  • 2 Stars
  • 59 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 2 % Grown

The README.md

SimplePHPDebug

Packagist ![Packagist Release][badge_release] Packagist Downloads, (*1)

Simple PHP Debug, better output on browser and write log., (*2)

Installation & loading

Just add this line to your composer.json file:, (*3)

"wilon/simple-php-debug": "^0.1.7"

or, (*4)

composer require wilon/simple-php-debug

A Simple Example

<?php

$a = 123;
$b = '23333';

simple_dump($a, $b, $_GET, $_SERVER['REMOTE_ADDR']);

simple_log(dirname(__FILE__) . '/somefile.log', $b, $_GET, $_SERVER['REMOTE_ADDR']);

What's better then var_dump on browser?

<?php

$longStr = 'President Trump’s ouster of national security adviser Michael T. Flynn, and the circumstances leading up to it, have quickly become a major crisis for the fledgling administration, forcing the White House on the defensive and precipitating the first significant breach in relations between Trump and an increasingly restive Republican Congress.';
$htmlStr = '<link rel="search" type="application/opensearchdescription+xml" href="/search.osd?v=1483361432" title="Packagist" /><br>';
$array = pathinfo('C:/test/wilon/index.php');

var_dump($longStr, $htmlStr, $array);

simple_dump($longStr, $htmlStr, $array);

image, (*5)

The Versions

16/08 2017

dev-master

9999999-dev https://wilon.github.io

Simple PHP Debug, better output and write log.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

debug php dump

14/04 2017

0.1.7

0.1.7.0 https://wilon.github.io

Simple PHP Debug, better output and write log.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

debug php dump

21/02 2017

0.1.6

0.1.6.0 https://wilon.github.io

Simple PHP Debug, better output and write log.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

debug php dump

17/02 2017

0.1.5

0.1.5.0 https://wilon.github.io

Simple PHP Debug, better output and write log.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

debug php dump

15/02 2017

0.1.4

0.1.4.0 https://wilon.github.io

Simple PHP Debug, better output and write log.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

debug php dump

14/02 2017

0.1.3

0.1.3.0 https://wilon.github.io

Simple PHP Debug, better output and write log.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

debug php dump

14/02 2017

0.1.2

0.1.2.0 https://wilon.github.io

Simple PHP Debug, better output and write log.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

debug php dump

10/02 2017

0.1.1

0.1.1.0 https://wilon.github.io

Simple PHP Debug, better output and write log.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

debug php dump

10/02 2017

0.1.0

0.1.0.0 https://wilon.github.io

Simple PHP Debug, better output and write log.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

debug php dump