eonx-com/easy-lock
Composer 安装命令:
composer require eonx-com/easy-lock
包简介
Framework agnostic locking features
README 文档
README
---eonx_docs--- title: Introduction weight: 0 ---eonx_docs---
The purpose of this package isn't to be used within a project by the application as there is no point in creating another level of abstraction in that case BUT only to allow eonx-com packages to dispatch events without having to think about the event dispatcher used by each of our projects.
Require package (Composer)
The recommended way to install this package is to use Composer:
$ composer require eonx-com/easy-lock
Usage
The Symfony Lock component has an excellent documentation and we recommend referring to it.
Connection
To work with this package you simply have to register the connection to use for the locks store as a service under
the easy_lock.connection id. This connection will be given to the StoreFactory, so its value can be anything
supported by the Lock component.
Store
If defining the connection doesn't work for you, you can override the store instance within the service container under
the easy_lock.store id.
eonx-com/easy-lock 适用场景与选型建议
eonx-com/easy-lock 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.18M 次下载、GitHub Stars 达 1, 最近一次更新时间为 2020 年 07 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 eonx-com/easy-lock 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 eonx-com/easy-lock 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.18M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-07-20