Skip to content

Releases: hyperf-plus/helper

v3.1.6

11 Oct 04:25
51818bd

Choose a tag to compare

Update helper.php

v3.1.5

20 Aug 08:53
068a8bf

Choose a tag to compare

Update helper.php

v3.1.4

04 Sep 15:14
11a2ed2

Choose a tag to compare

移除nette/php-generator依赖

v3.1.3: Update helper.php

16 Aug 05:01
c25792b

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

Choose a tag to compare

修复cli下调用无request报错

v3.1.1

22 Jun 15:41
384a1b3

Choose a tag to compare

Update ConfigProvider.php

v3.0.5

15 Aug 03:01
bdfd869

Choose a tag to compare

Update helper.php

v3.0.4

10 Aug 05:38
54f151e

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

Choose a tag to compare

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

v3.0.2

10 Apr 10:48
fdacc4e

Choose a tag to compare

增加cache_has_set 方法 不存在则设置,最终都返回数据