{"id":24694474,"url":"https://github.com/roadrunner-php/symfony-lock-driver","last_synced_at":"2025-10-09T01:31:07.144Z","repository":{"id":193682280,"uuid":"687364543","full_name":"roadrunner-php/symfony-lock-driver","owner":"roadrunner-php","description":"RoadRunner lock driver for Symfony Lock component","archived":false,"fork":false,"pushed_at":"2025-05-30T07:51:36.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":6,"default_branch":"1.x","last_synced_at":"2025-09-08T22:29:57.855Z","etag":null,"topics":["atomic-lock","lock","php","roadrunner","spiral"],"latest_commit_sha":null,"homepage":"https://symfony.com/doc/current/components/lock.html","language":"PHP","has_issues":false,"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/roadrunner-php.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}},"created_at":"2023-09-05T07:56:24.000Z","updated_at":"2025-05-30T07:51:01.000Z","dependencies_parsed_at":"2023-11-10T12:39:25.378Z","dependency_job_id":"4962c774-b9a8-462b-bd48-accb49c0eaaf","html_url":"https://github.com/roadrunner-php/symfony-lock-driver","commit_stats":null,"previous_names":["roadrunner-php/symfony-lock-driver"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/roadrunner-php/symfony-lock-driver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roadrunner-php%2Fsymfony-lock-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roadrunner-php%2Fsymfony-lock-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roadrunner-php%2Fsymfony-lock-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roadrunner-php%2Fsymfony-lock-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/roadrunner-php","download_url":"https://codeload.github.com/roadrunner-php/symfony-lock-driver/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/roadrunner-php%2Fsymfony-lock-driver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000725,"owners_count":26082895,"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-10-08T02:00:06.501Z","response_time":56,"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":["atomic-lock","lock","php","roadrunner","spiral"],"created_at":"2025-01-26T23:59:51.040Z","updated_at":"2025-10-09T01:31:06.848Z","avatar_url":"https://github.com/roadrunner-php.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://roadrunner.dev\" target=\"_blank\"\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://github.com/roadrunner-server/.github/assets/8040338/e6bde856-4ec6-4a52-bd5b-bfe78736c1ff\"\u003e\n    \u003cimg align=\"center\" src=\"https://github.com/roadrunner-server/.github/assets/8040338/040fb694-1dd3-4865-9d29-8e0748c2c8b8\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n# RoadRunner Lock Integration for Symfony\n\n[![PHP Version Require](https://poser.pugx.org/roadrunner-php/symfony-lock-driver/require/php)](https://packagist.org/packages/roadrunner-php/symfony-lock-driver)\n[![Latest Stable Version](https://poser.pugx.org/roadrunner-php/symfony-lock-driver/v/stable)](https://packagist.org/packages/roadrunner-php/symfony-lock-driver)\n[![phpunit](https://github.com/roadrunner-php/symfony-lock-driver/actions/workflows/phpunit.yml/badge.svg)](https://github.com/roadrunner-php/symfony-lock-driver/actions)\n[![psalm](https://github.com/roadrunner-php/symfony-lock-driver/actions/workflows/psalm.yml/badge.svg)](https://github.com/roadrunner-php/symfony-lock-driver/actions)\n[![Codecov](https://codecov.io/gh/roadrunner-php/symfony-lock-driver/branch/1.x/graph/badge.svg)](https://codecov.io/gh/roadrunner-php/symfony-lock-driver/)\n[![Total Downloads](https://poser.pugx.org/roadrunner-php/symfony-lock-driver/downloads)](https://packagist.org/roadrunner-php/symfony-lock-driver/phpunit)\n\u003ca href=\"https://discord.gg/8bZsjYhVVk\"\u003e\u003cimg src=\"https://img.shields.io/badge/discord-chat-magenta.svg\"\u003e\u003c/a\u003e\n\nThis package is a bridge that connects the powerful RoadRunner Lock plugin with the Symfony Lock component. It's\ndesigned to help you easily manage distributed locks in your PHP applications, particularly when you're working with\nhigh-traffic web applications and microservices.\n\n## Requirements\n\nMake sure that your server is configured with following PHP version and extensions:\n\n- PHP 8.1+\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require roadrunner-php/symfony-lock-driver\n\n```\n\n## Usage\n\nUsing the RoadRunner Lock with Symfony is straightforward. Here's a simple example:\n\n```php\nuse RoadRunner\\Lock\\Lock;\nuse Spiral\\Goridge\\RPC\\RPC;\nuse Spiral\\RoadRunner\\Symfony\\Lock\\RoadRunnerStore;\nuse Symfony\\Component\\Lock\\LockFactory;\n\nrequire __DIR__ . '/vendor/autoload.php';\n\n$lock = new Lock(RPC::create('tcp://127.0.0.1:6001'));\n$factory = new LockFactory(\n    new RoadRunnerStore($lock)\n);\n```\n\nRead more about using Symfony Lock component [here](https://symfony.com/doc/current/components/lock.html).\n\n## Contributing\n\nContributions are welcome! If you find an issue or have a feature request, please open\nan [issue](https://github.com/roadrunner-php/issues) or submit a pull request.\n\n## Credits\n\n- [gam6itko](https://github.com/gam6itko)\n- [butschster](https://github.com/butschster)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froadrunner-php%2Fsymfony-lock-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froadrunner-php%2Fsymfony-lock-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froadrunner-php%2Fsymfony-lock-driver/lists"}