{"id":36998035,"url":"https://github.com/hopeua/locker","last_synced_at":"2026-01-13T23:57:44.529Z","repository":{"id":17583945,"uuid":"20387465","full_name":"hopeua/locker","owner":"hopeua","description":"PHP lib for process locking","archived":false,"fork":false,"pushed_at":"2017-04-13T14:26:31.000Z","size":40,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-25T01:46:44.449Z","etag":null,"topics":["locker","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"google/jsonapi","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hopeua.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":"2014-06-01T22:02:36.000Z","updated_at":"2017-12-21T00:38:34.000Z","dependencies_parsed_at":"2022-07-26T18:32:13.235Z","dependency_job_id":null,"html_url":"https://github.com/hopeua/locker","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/hopeua/locker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopeua%2Flocker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopeua%2Flocker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopeua%2Flocker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopeua%2Flocker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hopeua","download_url":"https://codeload.github.com/hopeua/locker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hopeua%2Flocker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28406027,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["locker","php"],"created_at":"2026-01-13T23:57:43.944Z","updated_at":"2026-01-13T23:57:44.519Z","avatar_url":"https://github.com/hopeua.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Process Locker for PHP scripts\n\n[![Test passing](https://travis-ci.org/HopeUA/locker.svg?branch=master)](https://travis-ci.org/HopeUA/locker)\n[![Latest Stable Version](https://poser.pugx.org/hope/locker/v/stable.svg)](https://packagist.org/packages/hope/locker)\n\n## Usage\n    $locker = new FileLocker('large-process', ['lockDir' =\u003e '/tmp/lock']);\n    if ($locker-\u003eisLocked()) {\n        die('Already locked');\n    }\n\n    $locker-\u003elock();\n    ... some code ...\n    $locker-\u003eunlock();\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopeua%2Flocker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhopeua%2Flocker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhopeua%2Flocker/lists"}