Skip to content

Releases: hyperf-plus/helper

v3.1.4

04 Sep 15:14
11a2ed2
Compare
Choose a tag to compare

移除nette/php-generator依赖

v3.1.3: Update helper.php

16 Aug 05:01
c25792b
Compare
Choose a tag to compare

支持新特征,无需匿名函数

# 旧的用法
 $appInfo = cache_has_set("cache-{$client_id}",function () use ($client_id){
            return App::where('client_id', $client_id)->first();
        }); 
# 新的用法
$appInfo = cache_has_set("cache-{$client_id}",App::where('client_id', $client_id)->first()); 

v3.1.2: Update helper.php

27 Jul 04:20
1cbc9ee
Compare
Choose a tag to compare
修复cli下调用无request报错

v3.1.1

22 Jun 15:41
384a1b3
Compare
Choose a tag to compare
Update ConfigProvider.php

v3.0.5

15 Aug 03:01
bdfd869
Compare
Choose a tag to compare
Update helper.php

v3.0.4

10 Aug 05:38
54f151e
Compare
Choose a tag to compare

增加函数

  • event_dispatch 事件派发
  • array_filter_null 过滤数组中为null的key
  • cache_clear_prefix 根据key清理数据
  • get_millisecond 获取毫秒级时间戳

v3.0.3

23 Apr 11:28
fd23204
Compare
Choose a tag to compare

修复page limit 空在严格模式导致的bug

v3.0.2

10 Apr 10:48
fdacc4e
Compare
Choose a tag to compare
增加cache_has_set 方法 不存在则设置,最终都返回数据

v3.0.1

01 Apr 13:10
6bb2415
Compare
Choose a tag to compare
增加分页助手函数

v3.0.0

10 Aug 08:17
Compare
Choose a tag to compare
Upgrade to 3.0.0