{"id":19475208,"url":"https://github.com/arashjafari/dump-plus","last_synced_at":"2026-04-19T01:02:25.127Z","repository":{"id":75812084,"uuid":"430176278","full_name":"arashjafari/dump-plus","owner":"arashjafari","description":"Provides variety of formats for dumps information about variables or objects","archived":false,"fork":false,"pushed_at":"2021-11-20T19:45:25.000Z","size":111,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T06:30:59.227Z","etag":null,"topics":["dump","dump-data","dump-variables","hacktoberfest"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arashjafari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-20T18:12:30.000Z","updated_at":"2023-10-08T15:25:22.000Z","dependencies_parsed_at":"2023-02-27T01:01:12.591Z","dependency_job_id":null,"html_url":"https://github.com/arashjafari/dump-plus","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"ef8d56cc260d55cb961e0cbade58b641679aa193"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arashjafari%2Fdump-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arashjafari%2Fdump-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arashjafari%2Fdump-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arashjafari%2Fdump-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arashjafari","download_url":"https://codeload.github.com/arashjafari/dump-plus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240698770,"owners_count":19843451,"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":["dump","dump-data","dump-variables","hacktoberfest"],"created_at":"2024-11-10T19:30:55.607Z","updated_at":"2026-04-19T01:02:25.068Z","avatar_url":"https://github.com/arashjafari.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dump Plus\n\nWith DumpPlus, you can view the content of any variable or object in many different formats:\n\n* syntax highlighting\n* Browsers console log output\n* Via Javascript alert() function\n* Default var_dump() output\n* Command-line interface output\n* Simple format\n* JSON format\n\n## Installation\nUse Composer to install the library:\n```\n$ composer require arashjafari/dump-plus\n```\n\n## Screenshots\n\nScreenshot of DumpPlus::pretty($colors);\n![pretty](./examples/pretty.png \"Screenshot of DumpPlus::pretty\")\n\nScreenshot of DumpPlus::console($colors); \n![console](./examples/console.png \"Screenshot of DumpPlus::console\")\n\nScreenshot of DumpPlus::alert($colors); \n![alert](./examples/alert.png \"Screenshot of DumpPlus::alert\")\n\n\n## Example\n\n```php\n\nuse ArashJafari\\DumpPlus\\DumpPlus;\n\n// Sample array to dump\n$colors = ['key1' =\u003e 'red', 'key2' =\u003e 'blue'];\n\n// Default dump output\nDumpPlus::dump($colors);\n\n// Dump with syntax highlighting\nDumpPlus::pretty($colors);\n\n// Dump in simple format\nDumpPlus::simple($colors);\n\n// Dump for CLI output\nDumpPlus::cli($colors);\n\n// Dump in browser console\nDumpPlus::console($colors);\n\n// Dump in Javascript alert!\nDumpPlus::alert($colors);\n\n// Dump in JSON format\nDumpPlus::json($colors);\n\n```\n\nCalling with multiple arguments:\n\n```php\nuse ArashJafari\\DumpPlus\\DumpPlus;\n\n$msg = \"Hello World!\";\n$colors = ['key1' =\u003e 'red', 'key2' =\u003e 'blue'];\n \nDumpPlus::dump($msg, $colors);\n```\n\nCalling with functions instead of DumpPlus methods:\n\n```php\n\n$colors = ['key1' =\u003e 'red', 'key2' =\u003e 'blue'];\n\ndp($colors); // DumpPlus::dump($colors);\ndpd($colors); // DumpPlus::dump($colors); die();\n\ndp_pretty($colors); // DumpPlus::pretty($colors);\ndpd_pretty($colors); // DumpPlus::pretty($colors); die();\n\ndp_simple($colors); // DumpPlus::simple($colors);\ndpd_simple($colors); // DumpPlus::simple($colors); die();\n\ndp_cli($colors); // DumpPlus::cli($colors);\ndpd_cli($colors); // DumpPlus::cli($colors); die();\n\ndp_console($colors); // DumpPlus::console($colors);\ndpd_console($colors); // DumpPlus::console($colors); die();\n\ndp_alert($colors); // DumpPlus::alert($colors);\ndpd_alert($colors); // DumpPlus::alert($colors); die();\n\ndp_json($colors); // DumpPlus::json($colors);\ndpd_json($colors); // DumpPlus::json($colors); die();\n```\n\n## License\n\nThe DumpPlus is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farashjafari%2Fdump-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farashjafari%2Fdump-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farashjafari%2Fdump-plus/lists"}