efureev / support
PHP Support Package is a collection of useful functions and snippets
Installs: 48 315
Dependents: 10
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ^8.1|^8.2|^8.3
- ext-mbstring: *
Requires (Dev)
- phpstan/phpstan: ^1.10.14
- phpunit/phpunit: ^10.1.1
- squizlabs/php_codesniffer: ^3.7.2
- dev-master
- v4.28.1
- v4.28.0
- v4.27.0
- v4.26.0
- v4.25.0
- v4.24.0
- v4.23.0
- v4.22.1
- v4.22.0
- v4.21.1
- v4.21.0
- v4.20.0
- v4.19.0
- v4.18.0
- v4.17.1
- v4.17.0
- v4.16.1
- v4.16.0
- v4.15.0
- v4.14.0
- v4.13.0
- v4.12.1
- v4.12.0
- v4.11.0
- v4.10.1
- v4.10.0
- v4.9.0
- v4.8.2
- v4.8.1
- v4.8.0
- v4.7.0
- v4.6.1
- v4.6.0
- v4.5.0
- v4.4.3
- v4.4.2
- v4.4.1
- v4.4.0
- v4.3.1
- v4.3.0
- v4.2.1
- v4.2.0
- v4.1.2
- v4.1.1
- v4.1.0
- v4.0.0
- v3.1.1
- v3.1.0
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- v2.14.0
- v2.13.0
- v2.12.1
- v2.12.0
- v2.11.6
- v2.11.5
- v2.11.4
- v2.11.3
- v2.11.2
- v2.11.1
- v2.11.0
- v2.10.0
- v2.9.1
- v2.9.0
- v2.8.0
- v2.7.0
- v2.6.4
- v2.6.3
- v2.6.2
- v2.6.1
- v2.6.0
- v2.5.0
- v2.4.2
- v2.4.1
- v2.4.0
- v2.3.1
- v2.3.0
- v2.2.7
- v2.2.6
- v2.2.5
- v2.2.4
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.1
- v2.1.0
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- 2.0.0
- v1.x-dev
- 1.2.11
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.0
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.0
- dev-php7
This package is auto-updated.
Last update: 2024-11-19 14:05:30 UTC
README
Install
For php >= 8.1 (8.1, 8.2)
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
- exists
- fromPostgresArray
- fromPostgresPoint (^4.8.0)
- get
- has
- merge
- random (^4.25.0)
- remove
- removeByValue
- replaceByTemplate
- set
- toArray
- toIndexedArray
- toPostgresArray
- toPostgresPoint (^4.8.0)
- String
- removeAccents (^4.9.0)
- removeMultiSpace
- replaceByTemplate
- replaceStrTo
- seemsUTF8 (^4.9.0)
- slugify (^4.9.0)
- toCamel
- toDelimited
- toKebab
- toLowerCamel
- toScreamingDelimited
- toScreamingSnake
- toSnake
- 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)
- Array
-
Global functions
- classNamespace
- class_basename
- class_uses_recursive
- dataGet (^4.16.0)
- does_trait_use (^4.4.0)
- eachValue (^4.15.0)
- instance
- isTrue
- mapValue (^4.15.0)
- remoteCall (^4.3.1)
- remoteStaticCall (^4.3.1)
- remoteStaticCallOrTrow (^4.7.0)
- trait_uses_recursive
- value
- when
-
Enums (^4.19.0)
- casesToEscapeString
- casesToString
- hasName
- hasValue
- names
- values
-
Exceptions
- ConfigException
- Exception
- InvalidArgumentException
- InvalidCallException
- InvalidConfigException
- InvalidParamException
- InvalidValueException
- JsonException
- MethodNotAllowedException
- MissingClassException
- MissingConfigException
- MissingPropertyException
- MissingMethodException (^4.7.0)
- NotSupportedException
- UnknownMethodException
- UnknownPropertyException
-
Interfaces
- Arrayable
- Command
- Jsonable
- Prototype
-
Structures
- Collections (^4.16.0)
- ArrayCollections
- Collections (^4.16.0)
-
Traits
- ArrayStorage
- ArrayStorageConfigurableTrait
- ConfigurableTrait
- ConsolePrint
- Maker
- Metable
- ReadOnlyProperties
- Singleton
- Thrower
- TraitBooter
- TraitInitializer
- Whener
-
Types
- GeoPoint
- Point
Test
composer test composer test-cover # with coverage