Skip to content

efureev/php-support

Repository files navigation

PHP Support

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

Install

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
      • accessible
      • dataToArray
      • exists
      • fromPostgresArray
      • get
      • has
      • merge
      • remove
      • removeByValue
      • set
      • toArray
      • toIndexedArray
      • toPostgresArray
      • replaceByTemplate
    • String
      • removeMultiSpace
      • replaceByTemplate
      • replaceStrTo
      • toCamel
      • toDelimited
      • toKebab
      • toLowerCamel
      • toScreamingDelimited
      • toScreamingSnake
      • toSnake
    • Json
      • decode
      • encode
      • htmlEncode
    • Bit
      • addFlag
      • checkFlag
      • decBinPad
      • exist
      • grant
      • removeFlag
    • B64
      • decode
      • decodeSafe
      • encode
      • encodeSafe
  • Global functions
    • classNamespace
    • class_basename
    • class_uses_recursive
    • instance
    • isTrue
    • trait_uses_recursive
    • value
    • when
  • Exceptions
    • ConfigException
    • Exception
    • InvalidArgumentException
    • InvalidCallException
    • InvalidConfigException
    • InvalidParamException
    • InvalidValueException
    • JsonException
    • MethodNotAllowedException
    • MissingClassException
    • MissingConfigException
    • MissingPropertyException
    • NotSupportedException
    • UnknownMethodException
    • UnknownPropertyException
  • Interfaces
    • Arrayable
    • Command
    • Jsonable
    • Prototype
  • Traits
    • ArrayStorage
    • ArrayStorageConfigurableTrait
    • ConfigurableTrait
    • ConsolePrint
    • Maker
    • Metable
    • ReadOnlyProperties
    • Singleton
    • Thrower
    • TraitBooter
    • TraitInitializer
    • Whener
  • Types
    • GeoPoint
    • Point

Test

composer test
composer test-cover # with coverage

About

PHP Support

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages