hongxunpan / php-tools
common php tools and functions
2.4.2
2023-09-23 09:43 UTC
Requires
- php: >=5.6
- hongxunpan/db: 1.0.2
- wangju/ding-notice: ^1.0
Requires (Dev)
- symfony/var-dumper: ^6.0
README
install
composer require hongxunpan/php-tools
usage
- cli/Progress cli 终端下的任务进度显示
- validate/Validator 验证器
- lock/RedisLock redis 分布独占锁
- draw/RedisDraw redis 抽奖
- timeLimitOffers/RedisTimeLimitOffers redis 抢购名额
- [notice/DingTalk] 钉钉消息推送
- file/GetDirFiles 扫描文件夹下的文件
update-log
2.7.0
2024-05-24 Sse supporter2.6.0
2024-03-06 OpensslEncrypt2.5.0
2024-02-18 cache remember2.4.2
2023-09-23 fix framework bugs & add features2.4.1
2023-06-30 fix script autoload.php path2.4.0
2023-06-30 add Config & Env2.3.0
2023-05-19 add get-dir-files2.2.0
2023-02-20 add ServerMonitor & notice Interface2.1.1
2022-12-20 redis-lock transaction callable2.1.0
2022-10-16 add redis-time-limit-offers2.0.0
2022-10-13 separate out the db-connection1.4.0
2022-10-11 add mysql pdo connect & abstract db connect1.3.2
2022-10-08 add function isUserInPool1.3.1
2022-10-06 fix high draw bugs1.3.0
2022-10-06 add redis-draw1.2.0
2022-10-05 add redis && redis-lock1.1.0
2022-10-04 add validator1.0.1
2022-10-03 add readme doc1.0.0
2022-10-03 cli/progress
todo
- Monolog
- Server Ping/Pong