PHPackages                             rikudou/scalar-objects - 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. rikudou/scalar-objects

AbandonedLibrary[Utility &amp; Helpers](/categories/utility)

rikudou/scalar-objects
======================

Handlers for using scalar types as objects

1.5(9y ago)121WTFPLPHPPHP &gt;=5.3.0

Since Jul 20Pushed 6y ago3 watchersCompare

[ Source](https://github.com/RikudouSage/scalar-objects)[ Packagist](https://packagist.org/packages/rikudou/scalar-objects)[ Docs](https://github.com/RikudouSage/scalar-objects)[ RSS](/packages/rikudou-scalar-objects/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (4)Used By (0)

Scalar types as objects for php
===============================

[](#scalar-types-as-objects-for-php)

This php library requires php extension from [https://github.com/nikic/scalar\_objects](https://github.com/nikic/scalar_objects).

Installation
------------

[](#installation)

Run `composer require rikudou/scalar-objects`.

Usage
-----

[](#usage)

The handlers are automatically registered when you include composer autoload. That means you can use it immediately with no configuration.

Since IDEs don't understand the syntax, there are typehint classes available to help you.

Examples
--------

[](#examples)

```
