{"id":16294147,"url":"https://github.com/sarfraznawaz2005/querydumper","last_synced_at":"2025-03-20T04:30:27.346Z","repository":{"id":62540351,"uuid":"103747625","full_name":"sarfraznawaz2005/querydumper","owner":"sarfraznawaz2005","description":"Laravel package to dump all running queries on the page.","archived":false,"fork":false,"pushed_at":"2019-12-31T13:19:53.000Z","size":342,"stargazers_count":24,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T23:01:43.581Z","etag":null,"topics":["composer","laravel","laravel-5-package","logging","php","query","sql"],"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/sarfraznawaz2005.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}},"created_at":"2017-09-16T11:38:13.000Z","updated_at":"2020-05-14T06:11:48.000Z","dependencies_parsed_at":"2022-11-02T15:46:14.815Z","dependency_job_id":null,"html_url":"https://github.com/sarfraznawaz2005/querydumper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarfraznawaz2005%2Fquerydumper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarfraznawaz2005%2Fquerydumper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarfraznawaz2005%2Fquerydumper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sarfraznawaz2005%2Fquerydumper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sarfraznawaz2005","download_url":"https://codeload.github.com/sarfraznawaz2005/querydumper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047647,"owners_count":20389206,"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":["composer","laravel","laravel-5-package","logging","php","query","sql"],"created_at":"2024-10-10T20:14:20.609Z","updated_at":"2025-03-20T04:30:26.847Z","avatar_url":"https://github.com/sarfraznawaz2005.png","language":"PHP","funding_links":[],"categories":["Packages"],"sub_categories":["Database/Eloquent/Models"],"readme":"**Abandoned:**\n\n[Use this package instead](https://github.com/sarfraznawaz2005/indexer)\n\n---\n\n\n# Laravel QueryDumper\n\n[![laravel 5.1](https://img.shields.io/badge/Laravel-5.1-brightgreen.svg?style=flat-square)](http://laravel.com)\n[![laravel 5.2](https://img.shields.io/badge/Laravel-5.2-brightgreen.svg?style=flat-square)](http://laravel.com)\n[![laravel 5.3](https://img.shields.io/badge/Laravel-5.3-brightgreen.svg?style=flat-square)](http://laravel.com)\n[![downloads](https://poser.pugx.org/sarfraznawaz2005/querydumper/downloads)](https://packagist.org/packages/sarfraznawaz2005/querydumper)\n\n## Introduction ##\n\nSimple Laravel 5 package to dump all running queries on the page. If it's `SELECT` query, it will also show `EXPLAIN` information against it.\n\n## Screenshot ##\n\n![Main Window](https://raw.github.com/sarfraznawaz2005/querydumper/master/screen.png)\n\n## Requirements ##\n\n - PHP \u003e= 5.6\n - Laravel 5 (tested on Laravel 5.1, 5.2,  5.3 and 5.4)\n\n## Installation ##\n\nInstall via composer\n```\ncomposer require sarfraznawaz2005/querydumper\n```\n\nAdd Service Provider to `config/app.php` in `providers` section\n```php\nSarfraznawaz2005\\QueryDumper\\QueryDumperServiceProvider::class,\n```\n\nRun `php artisan vendor:publish` to publish package's config file. You should now have `querydumper.php` file published in `app/config` folder.\n\n## Config Options ##\n\n - `enabled` : Enable or disable QueryDumper. By default it is disabled. If you are on local environment, you can also just add `QUERYDUMPER=true` to env file to enable it.\n - `querystring_name` : Whatever value for this config is set, you will be able to see all running quries by appending this value in your url as query string. Example: `http://www.yourapp.com/someurl?qqq`. Default value is `qqq`.\n - `format_sql` : If true, it will also format shown SQL queries. Default `false`.\n - `same_page` : If true, it will dump queries on current page you are on. If it affects your layout, you can set this to `false` and be able to view dumped queries on a page available at url `http://yoursite.com/querydumper/dump`. In this case, first visit the page you want to see queries of by appending `?querystring_name` value there and then visit `querydumper/dump` route to see quries for your last visited page. Default `true`.\n\n## Related Package ##\n\n[QueryLine](https://github.com/sarfraznawaz2005/queryline)\n\n## License ##\n\nThis code is published under the [MIT License](http://opensource.org/licenses/MIT).\nThis means you can do almost anything with it, as long as the copyright notice and the accompanying license file is left intact.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarfraznawaz2005%2Fquerydumper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsarfraznawaz2005%2Fquerydumper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsarfraznawaz2005%2Fquerydumper/lists"}