blok/utils 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

blok/utils

Composer 安装命令:

composer require blok/utils

包简介

A series of utilites functions for PHP

README 文档

README

Packagist Packagist Packagist

Utilities script for PHP projects

Installation

Install via composer

composer require blok/utils

Usage

Arr

Blok\Utils\Arr is a bunch of array related methods utilities that you can use as static call exemple :

Blok\Utils\Arr::csvToArray('xxx.csv')

Will transform a csv file to an array

Str

Blok\Utils\Str is a bunch of String related methods utilities that you can use as static call exemple :

Str::smrtr('{hello} world', ["hello", "Hello"])

Will replace the braced {hello} with the value of the array

Utils

Blok\Utils\Utils is a bunch of common PHP utils methods that you can use as static call exemple :

Utils::getJSON("xxx.json"")

Will make a file_get_contents + a json_decode

Utils::removeSubfolder($your_dir, ".git"")

Will remove all the .git folder.

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits

统计信息

  • 总下载量: 7.96k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 5
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-03-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固