Download the PHP package savinmikhail/primitive_wrappers without Composer
On this page you can find all versions of the php package savinmikhail/primitive_wrappers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download savinmikhail/primitive_wrappers
More information about savinmikhail/primitive_wrappers
Files in savinmikhail/primitive_wrappers
Package primitive_wrappers
Short Description The object wrappers and static helpers for php primitive types
License MIT
Informations about the package primitive_wrappers
Object-Oriented Primitive Wrappers
This PHP library provides object-oriented wrappers for primitive data types, aiming to improve code readability, maintainability, and error handling compared to traditional procedural approaches.
Worth to mention, that some other programming languages like Java, Python etc have it built-in.
Features
-
Object-Oriented Design: The library offers object-oriented wrappers for primitive types, allowing developers to work with primitives in a less imperative style.
-
Enhanced Error Handling: The library provides more robust error handling mechanisms, so you don't have to remember to check whether some
json_decode
returned false, or null, or empty string, or threw Error or Exception. -
Improved Readability: Clear and descriptive method names enhance code readability and maintainability, so you don't have to worry whether function calls
str_split
orstrSplit
orsplit
. Either to remember what somestrpbrk
mean - Advanced Methods: You can convert cases (e.g. from camel to snake) fluently, or get words from a string, and many more!
Installation
Run
composer require savinmikhail/primitive_wrappers
Example Usage
Similar projects
Contributing
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on GitHub.
License
This library is released under the MIT license.
All versions of primitive_wrappers with dependencies
ext-mbstring Version *