{"id":16950354,"url":"https://github.com/wilon/simple-php-debug","last_synced_at":"2025-10-05T15:13:02.002Z","repository":{"id":57080939,"uuid":"81519596","full_name":"wilon/simple-php-debug","owner":"wilon","description":"Simple PHP Debug, better output and write log.","archived":false,"fork":false,"pushed_at":"2017-08-16T03:06:17.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T07:07:59.284Z","etag":null,"topics":["php-debug","php-library"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wilon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-10T02:54:02.000Z","updated_at":"2017-08-11T09:24:57.000Z","dependencies_parsed_at":"2022-08-24T13:10:30.895Z","dependency_job_id":null,"html_url":"https://github.com/wilon/simple-php-debug","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilon%2Fsimple-php-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilon%2Fsimple-php-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilon%2Fsimple-php-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wilon%2Fsimple-php-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wilon","download_url":"https://codeload.github.com/wilon/simple-php-debug/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244776941,"owners_count":20508617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php-debug","php-library"],"created_at":"2024-10-13T21:57:26.613Z","updated_at":"2025-10-05T15:12:56.983Z","avatar_url":"https://github.com/wilon.png","language":"PHP","readme":"# SimplePHPDebug\n\n[![Packagist][badge_package]][link-packagist]\n[![Packagist Release][badge_release]][link-packagist]\n[![Packagist Downloads][badge_downloads]][link-packagist]\n\n[badge_package]:      https://img.shields.io/badge/package-wilon/simple--php--debug-blue.svg?style=flat-square\n[badge_release]:      https://img.shields.io/packagist/v/wilon/simple-php-debug.svg?style=flat-square\n[badge_downloads]:    https://img.shields.io/packagist/dt/wilon/simple-php-debug.svg?style=flat-square\n[link-packagist]:     https://packagist.org/packages/wilon/simple-php-debug\n\nSimple PHP Debug, better output on browser and write log.\n\n## Installation \u0026 loading\n\nJust add this line to your `composer.json` file:\n\n```json\n\"wilon/simple-php-debug\": \"^0.1.7\"\n```\n\nor\n\n```sh\ncomposer require wilon/simple-php-debug\n```\n\n## A Simple Example\n\n```php\n\u003c?php\n\n$a = 123;\n$b = '23333';\n\nsimple_dump($a, $b, $_GET, $_SERVER['REMOTE_ADDR']);\n\nsimple_log(dirname(__FILE__) . '/somefile.log', $b, $_GET, $_SERVER['REMOTE_ADDR']);\n\n```\n## What's better then var_dump on browser?\n\n```php\n\u003c?php\n\n$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.';\n$htmlStr = '\u003clink rel=\"search\" type=\"application/opensearchdescription+xml\" href=\"/search.osd?v=1483361432\" title=\"Packagist\" /\u003e\u003cbr\u003e';\n$array = pathinfo('C:/test/wilon/index.php');\n\nvar_dump($longStr, $htmlStr, $array);\n\nsimple_dump($longStr, $htmlStr, $array);\n\n```\n\n![image](https://cloud.githubusercontent.com/assets/7512755/22959116/94ff96a8-f36e-11e6-835e-65d9ebc527cf.png)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilon%2Fsimple-php-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwilon%2Fsimple-php-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwilon%2Fsimple-php-debug/lists"}