Skip to content

ihome520/helpers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helpers

一些开发的常用函数,方便直接在开发中使用


持续更新

  • 此仓库处于持续构建优化阶段,后续在空闲之余将会继续更新和优化内容

安装

$ composer require ihome/helpers -vvv

使用

    <?php 
        // 获取10位随机字符串
        $string = getRandString(10);
        var_dump($string);
        
        // 浮点数判断大小
        $result = bcCompNumber(1.1, '<', 2.2);
        var_dump($result);// true
    ?>

具体文档请参考

ihome/helpers 开源文档

贡献

You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  3. Contribute new features or update the wiki.

The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.

License

MIT

About

常用的helpers功能函数

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages