{"id":30232252,"url":"https://github.com/belomaxorka/dle-cleanup-inactive-users","last_synced_at":"2025-08-14T23:40:14.757Z","repository":{"id":308155795,"uuid":"1031819678","full_name":"belomaxorka/dle-cleanup-inactive-users","owner":"belomaxorka","description":"[DLE] Очистка неактивных пользователей с мертвыми почтовыми ящиками","archived":false,"fork":false,"pushed_at":"2025-08-04T11:52:32.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-04T15:44:38.664Z","etag":null,"topics":["dle","dle-cleanup-inactive-users","dle-module","dle-plugins"],"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/belomaxorka.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-04T11:32:24.000Z","updated_at":"2025-08-04T11:52:36.000Z","dependencies_parsed_at":"2025-08-04T15:58:02.947Z","dependency_job_id":null,"html_url":"https://github.com/belomaxorka/dle-cleanup-inactive-users","commit_stats":null,"previous_names":["belomaxorka/dle-cleanup-inactive-users"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/belomaxorka/dle-cleanup-inactive-users","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belomaxorka%2Fdle-cleanup-inactive-users","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belomaxorka%2Fdle-cleanup-inactive-users/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belomaxorka%2Fdle-cleanup-inactive-users/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belomaxorka%2Fdle-cleanup-inactive-users/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/belomaxorka","download_url":"https://codeload.github.com/belomaxorka/dle-cleanup-inactive-users/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/belomaxorka%2Fdle-cleanup-inactive-users/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270500496,"owners_count":24595156,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dle","dle-cleanup-inactive-users","dle-module","dle-plugins"],"created_at":"2025-08-14T23:40:10.890Z","updated_at":"2025-08-14T23:40:14.741Z","avatar_url":"https://github.com/belomaxorka.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## [DLE] Очистка неактивных пользователей с мертвыми почтовыми ящиками\n\n### Установка:\n\nСоздаем экземпляр класса:\n\n```php\nrequire_once __DIR__ . '/email-validator.php';\n$validator = new SMTPEmailValidator();\n$validator-\u003esetFromEmail('noreply@yourdomain.com');\n$validator-\u003esetInactiveThresholdDays(365);\n```\n\n### Примеры запуска:\n\nТест одного email:\n\n```php\n$validator-\u003etestSingleEmail('example@example.com');\n```\n\nДля проверки всех email (режим тестирования):\n\n```php\n$validator-\u003evalidateAllEmails(20);\n```\n\nДля реального выполнения:\n\n\u003e [!WARNING]\n\u003e Обязательно сделайте резервную копию базы данных\n\n```php\n$validator-\u003eenableRealMode();\n$validator-\u003evalidateAllEmails(20);\n```\n\n### Использование:\n\n\u003e [!IMPORTANT]\n\u003e Запуск скрипта `test.php` осуществляется в CLI режиме!\n\n1. Настраиваем параметры подключения в `_dbconfig.php`\n2. Запускаем `test.php` с необходимыми параметрами\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelomaxorka%2Fdle-cleanup-inactive-users","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelomaxorka%2Fdle-cleanup-inactive-users","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelomaxorka%2Fdle-cleanup-inactive-users/lists"}