Skip to content

renandelmonico/value-objects

Repository files navigation

Value Objects Library

Packagist Downloads Packagist Stars GitHub release (latest by date) Packagist PHP Version Support Packagist License

A lib to aggregate in your projects with most commons VO's.

Produced by Renan Delmonico to use in his projects

Summary

What's Value Objects?

Documentation

To read the documentation run the Makefile command:

make doc-generate

Value Objects

  • Address
  • Boolean
  • City
  • DateTime
  • Email
  • Integer
  • IP (IPv4 and IPv6)
  • Numeric
  • Password
  • Str
  • Text
  • UUID

Enums

  • Country
  • PasswordAlgo
  • State (Brazil)

Pull Requests

Before you submit a Pull Request you must run the unit and mutation tests and check if the coverage is 100%.

How?

There are three commands in Makefile (test-unit, test-mutation and test-coverage). You must run this commands.

Please, rate this lib ❤️ and give stars ⭐