PHPackages                             hktr92/php-primitives - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hktr92/php-primitives

Abandoned → [hktr92/oopize](/?search=hktr92%2Foopize)ArchivedLibrary[Utility &amp; Helpers](/categories/utility)

hktr92/php-primitives
=====================

Experimental stuff inspired by JavaScript and Python.

06PHP

Since Nov 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hktr92/php-primitives)[ Packagist](https://packagist.org/packages/hktr92/php-primitives)[ RSS](/packages/hktr92-php-primitives/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Primitives
==============

[](#php-primitives)

PHP Primitives is an experimental library that is inspired from JavaScript / Python world.

They are just wrappers around primitive data types.

#### Why would you do that?

[](#why-would-you-do-that)

For me, it's just for fun. This would be my first project that is TDD-based.

Utility? It started from a project in which I defined a `StringUtil` class to make the basic case conversions. All methods in that class were static, so I had to do something like:

```
