{"id":18643554,"url":"https://github.com/lemberg/laravel-query-logs","last_synced_at":"2025-11-05T00:30:33.416Z","repository":{"id":62516795,"uuid":"121512457","full_name":"lemberg/laravel-query-logs","owner":"lemberg","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-27T11:44:26.000Z","size":11,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-12-27T10:44:27.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lemberg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-14T13:14:32.000Z","updated_at":"2022-02-21T20:35:13.000Z","dependencies_parsed_at":"2022-11-02T12:16:06.652Z","dependency_job_id":null,"html_url":"https://github.com/lemberg/laravel-query-logs","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemberg%2Flaravel-query-logs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemberg%2Flaravel-query-logs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemberg%2Flaravel-query-logs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lemberg%2Flaravel-query-logs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lemberg","download_url":"https://codeload.github.com/lemberg/laravel-query-logs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239446756,"owners_count":19640189,"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":[],"created_at":"2024-11-07T06:07:21.438Z","updated_at":"2025-11-05T00:30:33.333Z","avatar_url":"https://github.com/lemberg.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Query Logs\n\nLog database queries into file.\n\n## Requirements\n\n* PHP \u003e= `7.0`\n* Laravel = `5.4.*|5.5.*`\n\n## Getting Started\n\nInstall package via composer\n```\n$ composer require lemberg/laravel-query-logs\n```\n\n### Register Service Provider (Only for Laravel 5.4)\n\n```\n'providers' =\u003e [\n    Lemberg\\LaraveQueryLogs\\ServiceProvider::class,\n],\n```\n\n### Publish Configuration File\n\n```\nphp artisan vendor:publish --provider=\"Lemberg\\LaravelQueryLogs\\ServiceProvider\" --tag=\"config\"\n```\n\n## Usage\n\n1. Add `QUERY_LOGS=true` to .env file.\u003cbr/\u003e\n\n2. By default queries will store into `/storage/logs/sql.log` file.\u003cbr/\u003e \nYou can change it by editing the `path` option in `query-log.php` file\n\nActually that's all:) \n\n## License\n\nPlease see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemberg%2Flaravel-query-logs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flemberg%2Flaravel-query-logs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flemberg%2Flaravel-query-logs/lists"}