{"id":16792862,"url":"https://github.com/al-one/laravel-predis-listened","last_synced_at":"2025-07-07T05:03:15.107Z","repository":{"id":56943524,"uuid":"165610597","full_name":"al-one/laravel-predis-listened","owner":"al-one","description":"Listening Laravel pRedis Queries","archived":false,"fork":false,"pushed_at":"2022-08-04T10:33:42.000Z","size":7,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T11:49:34.719Z","etag":null,"topics":["laravel","laravel-listener","predis"],"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/al-one.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":"2019-01-14T06:52:26.000Z","updated_at":"2022-08-04T10:32:47.000Z","dependencies_parsed_at":"2022-08-21T02:10:26.534Z","dependency_job_id":null,"html_url":"https://github.com/al-one/laravel-predis-listened","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/al-one%2Flaravel-predis-listened","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al-one%2Flaravel-predis-listened/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al-one%2Flaravel-predis-listened/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al-one%2Flaravel-predis-listened/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/al-one","download_url":"https://codeload.github.com/al-one/laravel-predis-listened/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/al-one%2Flaravel-predis-listened/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258020918,"owners_count":22637720,"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":["laravel","laravel-listener","predis"],"created_at":"2024-10-13T08:47:26.845Z","updated_at":"2025-07-07T05:03:15.075Z","avatar_url":"https://github.com/al-one.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Listening Laravel pRedis Queries\n\n## Installing\n\n```\n# composer.json\n\n\"minimum-stability\": \"dev\",\n\"prefer-stable\": true,\n```\n\n```sh\n$ composer require \"al-one/laravel-predis-listened\" -vvv\n```\n\n\n## Usage\n\n```php\n# optional if \u003e= 5.5\n# config/app.php\n\u003c?php\n\nreturn [\n\n    'providers' =\u003e [\n        Alone\\LaravelPredisListened\\ServiceProvider::class,\n    ],\n\n];\n```\n\n```php\n# config/database.php\n\u003c?php\n\nreturn [\n    'redis' =\u003e [\n        'client' =\u003e 'predis_listened',\n    ],\n];\n```\n\n```php\nuse Alone\\LaravelPredisListened\\RedisEvent;\n\nFacades\\Event::listen(RedisEvent::class,function(RedisEvent $event)\n{\n    $event-\u003ecommand;   // Redis命令\n    $event-\u003earguments; // 参数\n    $event-\u003etime;      // 耗时\n});\n```\n\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal-one%2Flaravel-predis-listened","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fal-one%2Flaravel-predis-listened","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fal-one%2Flaravel-predis-listened/lists"}