{"id":16367172,"url":"https://github.com/snower/phslock","last_synced_at":"2026-02-21T16:30:17.022Z","repository":{"id":57054406,"uuid":"142954519","full_name":"snower/phslock","owner":"snower","description":"slock php client","archived":false,"fork":false,"pushed_at":"2021-12-28T09:05:29.000Z","size":21,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-24T22:33:18.674Z","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/snower.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":"2018-07-31T02:56:22.000Z","updated_at":"2023-08-08T19:20:34.000Z","dependencies_parsed_at":"2022-08-24T05:31:58.395Z","dependency_job_id":null,"html_url":"https://github.com/snower/phslock","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fphslock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fphslock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fphslock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snower%2Fphslock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snower","download_url":"https://codeload.github.com/snower/phslock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239850437,"owners_count":19707350,"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-10-11T02:48:47.961Z","updated_at":"2026-02-21T16:30:16.965Z","avatar_url":"https://github.com/snower.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# phslock\n          \n[![Software license][ico-license]](LICENSE)\n[![Latest stable][ico-version-stable]][link-packagist] \n[![Latest development][ico-version-dev]][link-packagist]\n[![Monthly installs][ico-downloads-monthly]][link-downloads]\n\nHigh-performance distributed sync service and atomic DB. Provides good multi-core support through lock queues, high-performance asynchronous binary network protocols. Can be used for spikes, synchronization, event notification, concurrency control. https://github.com/snower/slock\n\n# Install\n\n```bash\ncomposer require snower/phslock\n```\n\n# Event\n\n```php\n\u003c?php\n\nnamespace App\\Console\\Commands;\n\nuse Illuminate\\Console\\Command;\nuse Snower\\Phslock\\Laravel\\Facades\\Phslock;\n\nclass TestSlockEvent extends Command\n{\n    /**\n     * The name and signature of the console command.\n     *\n     * @var string\n     */\n    protected $signature = 'test:slock-event';\n\n    /**\n     * The console command description.\n     *\n     * @var string\n     */\n    protected $description = 'Command description';\n\n    /**\n     * Create a new command instance.\n     *\n     * @return void\n     */\n    public function __construct()\n    {\n        parent::__construct();\n    }\n\n    /**\n     * Execute the console command.\n     *\n     * @return int\n     */\n    public function handle()\n    {\n        $event = Phslock::Event(\"test\", 5, 120, false);\n        $event-\u003eset();\n        return 0;\n    }\n}\n\n```\n\n# License\n\nslock uses the MIT license, see LICENSE file for the details.\n\n[ico-license]: https://img.shields.io/github/license/snower/phslock.svg?style=flat-square\n[ico-version-stable]: https://img.shields.io/packagist/v/snower/phslock.svg?style=flat-square\n[ico-version-dev]: https://img.shields.io/packagist/vpre/snower/phslock.svg?style=flat-square\n[ico-downloads-monthly]: https://img.shields.io/packagist/dm/snower/phslock.svg?style=flat-square\n\n[link-packagist]: https://packagist.org/packages/snower/phslock\n[link-downloads]: https://packagist.org/packages/snower/phslock/stats\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnower%2Fphslock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnower%2Fphslock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnower%2Fphslock/lists"}