grayphp/helpers 问题修复 & 功能扩展

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

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

grayphp/helpers

最新稳定版本:v0.3

Composer 安装命令:

composer require grayphp/helpers

包简介

core php helper functions.

README 文档

README

Installation

Install helper-functions with composer

  composer require grayphp/helpers

Helpers

array_get:/**
     * Gets a value in an array by dot notation for the keys.
     *
     * @param string $key
     * @param array  $array
     *
     * @return mixed
     */
array_set:/**
     * Sets a value in an array using the dot notation.
     *
     * @param string $key
     * @param mixed  $value
     * @param array  $array
     *
     * @return bool
     */
array_first:/**
     * Returns the first element of an array.
     *
     * @param array $array
     *
     * @return mixed $value
     */
array_last:/**
     * Returns the last element of an array.
     *
     * @param array $array
     *
     * @return mixed $value
     */
to_array:/**
     * Converts a string or an object to an array.
     *
     * @param string|object $var
     *
     * @return array|null
     */
to_object:/**
     * Converts an array to an object.
     *
     * @param array $array
     *
     * @return object|null
     */
is_assoc:/**
     * Detects if the given value is an associative array.
     *
     * @param array $array
     *
     * @return bool
     */
create_captcha:/**
     * Create a captcha image.
     * @return void
     */
validate_captcha:/**
     * Validate a captcha image.
     * @param string $userInput
     * @return bool
     */

MIT License

统计信息

  • 总下载量: 13
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固