PHPackages                             maximaster/lazy-scalar - 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. maximaster/lazy-scalar

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

maximaster/lazy-scalar
======================

Package provides lazy value objects which promise to return a specific scalar value

1.0.0(1y ago)0122MITPHPPHP &gt;=8.1

Since Apr 17Pushed 1y ago2 watchersCompare

[ Source](https://github.com/maximaster/lazy-scalar)[ Packagist](https://packagist.org/packages/maximaster/lazy-scalar)[ RSS](/packages/maximaster-lazy-scalar/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (2)

maximaster/lazy-scalar
======================

[](#maximasterlazy-scalar)

The package provides lazy value objects which promise to return a specific scalar value.

Supported scalars:

- int (LazyInt);
- float (LazyFloat);
- bool (LazyBool);
- string (LazyString);

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

[](#installation)

```
composer require maximaster/lazy-scalar
```

Usage Example
-------------

[](#usage-example)

```
