A bunch of general-purpose value objects you can use in your Laravel application.
MIT License
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/6.0.0...7.0.0
Published by michael-rubel 11 months ago
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/5.1.1...6.0.0
Published by michael-rubel about 1 year ago
translator
dependency and require illuminate/validation
by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/41
empty
with explicit string comparison by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/42
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/5.1.0...5.1.1
Published by michael-rubel over 1 year ago
Url
value object by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/39
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/5.0.1...5.1.0
Published by michael-rubel almost 2 years ago
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/5.0.0...5.0.1
Published by michael-rubel almost 2 years ago
FullName
object by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/33
Boolean
object 🔧 by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/30
float
support in Number
by @olsza in https://github.com/michael-rubel/laravel-value-objects/pull/34
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/4.2.1...5.0.0
[BC] CHANGED: The parameter $number of MichaelRubel\ValueObjects\Concerns\SanitizesNumbers#sanitize() changed from int|string|null to int|string|float|null
[BC] REMOVED: Method MichaelRubel\ValueObjects\Collection\Primitive\Boolean#isInTrueValues() was removed
[BC] REMOVED: Method MichaelRubel\ValueObjects\Collection\Primitive\Boolean#isInFalseValues() was removed
[BC] CHANGED: Type of property MichaelRubel\ValueObjects\Collection\Primitive\Boolean#$value changed from bool|int|string to bool
[BC] CHANGED: Property MichaelRubel\ValueObjects\Collection\Primitive\Boolean#$trueValues changed default value
[BC] CHANGED: Property MichaelRubel\ValueObjects\Collection\Primitive\Boolean#$falseValues changed default value
[BC] CHANGED: The parameter $number of MichaelRubel\ValueObjects\Collection\Primitive\Number#__construct() changed from int|string to int|string|float
[BC] CHANGED: The parameter $number of MichaelRubel\ValueObjects\Concerns\SanitizesNumbers#sanitize() changed from int|string|null to int|string|float|null
Published by michael-rubel almost 2 years ago
BigNumber
object to underlying methods 📚 by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/29
Number
object by @olsza in https://github.com/michael-rubel/laravel-value-objects/pull/31
Number
object by @olsza in https://github.com/michael-rubel/laravel-value-objects/pull/32
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/4.2.0...4.2.1
Published by michael-rubel almost 2 years ago
Number
by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/27
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/4.1.0...4.2.0
Published by michael-rubel almost 2 years ago
asFloat
casting method to Number
🔨 by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/26
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/4.0.2...4.1.0
Published by michael-rubel almost 2 years ago
BigNumber
object immutable 🔧 by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/25
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/4.0.1...4.0.2
Published by michael-rubel almost 2 years ago
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/4.0.0...4.0.1
Published by michael-rubel almost 2 years ago
toString
convenience method by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/22
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/3.5.0...4.0.0
Published by michael-rubel almost 2 years ago
Number
by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/21
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/3.4.1...3.5.0
Published by michael-rubel almost 2 years ago
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/3.4.0...3.4.1
Published by michael-rubel almost 2 years ago
Name
by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/18
domain
and username
methods to Email
by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/19
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/3.3.0...3.4.0
Published by michael-rubel almost 2 years ago
FullName
🧱 by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/17
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/3.2.0...3.3.0
Published by michael-rubel almost 2 years ago
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/3.1.0...3.2.0
Published by michael-rubel almost 2 years ago
Phone
object by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/10
Phone
by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/12
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/3.0.0...3.1.0
Published by michael-rubel almost 2 years ago
v3
update by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/9
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/2.1.0...3.0.0
Published by michael-rubel almost 2 years ago
Email
object by @michael-rubel in https://github.com/michael-rubel/laravel-value-objects/pull/8
Full Changelog: https://github.com/michael-rubel/laravel-value-objects/compare/2.0.1...2.1.0