efureev/support 问题修复 & 功能扩展

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

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

efureev/support

Composer 安装命令:

composer require efureev/support

包简介

PHP Support Package is a collection of useful functions and snippets

README 文档

README

PHP Package Codacy Badge Latest Stable Version Total Downloads Maintainability Test Coverage codecov

Install

For php >= 8.4

composer require efureev/support "^5.1"

For php >= 8.1 (8.1, 8.2, 8.3)

composer require efureev/support "^4.19"

For php >= 7.4 and <=8.0

composer require efureev/support "^3.0"

For php >= 7.2 && <=7.4

composer require efureev/support "^2.0"

Content

  • Helpers

    • Array
      • collapse (^4.16.0)
      • prepend (^4.16.0)
      • accessible
      • dataToArray
      • duplicates
      • exists
      • fillKeysByValues
      • fromPostgresArray
      • fromPostgresArrayWithBraces
      • fromPostgresPoint (^4.8.0)
      • get
      • has
      • map (^4.27.0)
      • merge
      • random (^4.25.0)
      • remove
      • removeByValue
      • replaceByTemplate
      • set
      • toArray
      • toIndexedArray
      • toPostgresArray
      • toPostgresPoint (^4.8.0)
    • String
      • isRegExp
      • removeAccents (^4.9.0)
      • removeMultiSpace
      • replaceByTemplate
      • replaceStrTo
      • seemsUTF8 (^4.9.0)
      • slugify (^4.9.0)
      • slugifyWithFormat
      • toCamel
      • toCamelInitCase
      • toDelimited
      • toKebab
      • toLowerCamel
      • toScreamingDelimited
      • toScreamingSnake
      • toSnake
      • trimPrefix
      • trimSuffix
      • truncate (^4.9.0)
    • Json
      • decode
      • encode
      • htmlEncode
    • Bit
      • addFlag
      • checkFlag
      • decBinPad
      • exist
      • grant
      • removeFlag
    • B64
      • decode
      • decodeSafe
      • encode
      • encodeSafe
    • Number
      • isInteger (^4.14.0)
      • safeInt (^4.1.0)
  • Global functions

    • attributeToGetterMethod (^4.28.0)
    • attributeToSetterMethod (^4.28.0)
    • classNamespace
    • class_basename
    • class_uses_recursive
    • dataGet (^4.16.0)
    • does_trait_use (^4.4.0)
    • eachValue (^4.15.0)
    • findGetterMethod (^4.28.0)
    • findSetterMethodByProp
    • getPropertyValue (^4.28.0)
    • instance
    • isTrue
    • mapValue (^4.15.0)
    • public_property_exists (^4.28.0)
    • remoteCall (^4.3.1)
    • remoteStaticCall (^4.3.1)
    • remoteStaticCallOrThrow (^4.7.0)
    • trait_uses_recursive
    • value
    • when
  • Enums (^4.19.0)

    • casesToEscapeString
    • casesToString
    • hasName
    • hasValue
    • names
    • toKeyValueArray (^4.27.0)
    • toValueKeyArray (^4.27.0)
    • values
  • Exceptions

    • ConfigException
    • Exception
    • InvalidArgumentException
    • InvalidCallException
    • InvalidConfigException
    • InvalidParamException
    • InvalidValueException
    • MethodNotAllowedException
    • MissingClassException
    • MissingConfigException
    • MissingPropertyException
    • MissingMethodException (^4.7.0)
    • NotSupportedException
    • UnknownMethodException
    • UnknownPropertyException
  • Interfaces

    • Arrayable
    • Command
    • Jsonable
    • Prototype
  • Structures

    • Collections (^4.16.0)
      • ArrayCollection
      • HashCollection (^5.1.0)
  • ConditionalHandler

  • Storage (^5.0.0)

  • Traits

    • UseStorage
    • UseConfigurableStorage
    • UseErrorsBox
    • ConfigurableTrait
    • ConsolePrint
    • HasPrePostActions
    • Maker
    • Metable
    • ReadOnlyProperties
    • Singleton
    • Thrower
    • TraitBooter
    • TraitInitializer
    • Whener
  • Types

    • GeoPoint
    • Point

Test

composer test
composer test-cover # with coverage

efureev/support 适用场景与选型建议

efureev/support 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 76.11k 次下载、GitHub Stars 达 2, 最近一次更新时间为 2018 年 10 月 30 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「php」 「helpers」 「utility」 「support」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 efureev/support 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 efureev/support 我们能提供哪些服务?
定制开发 / 二次开发

基于 efureev/support 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 76.11k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 20
  • 依赖项目数: 10
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-30