v1.6.1 2023-07-07 14:34 UTC

README

This package is a PHP library that can be installed via composer. It provides a set of value objects that can be used in various applications. The aim of this package is to simplify the process of with value objects and to ensure that they are used consistently throughout the codebase.

Install

To install this package in your project, use the following composer command:

composer require marcelofabianov/latte

Features

Current version: v1.4.9

ValueObject

  • Uuid
  • Cnpj
  • Cpf
  • DocumentRegistration
  • ApplyMask
  • IpAddress
  • Email
  • Json
  • ExternalCode
  • Hostname
  • FederativeUnit
  • NFeKey
  • Monetary
  • CTeKey
  • ZipCode
  • Phone
  • ExpiresIn

Laravel Cast

  • NFeKeyCast
  • CTeKeyCast
  • ExternalCodeCast
  • JsonCast
  • RegistrationDocumentCast
  • UuidCast
  • EmailCast
  • MonetaryCast

Helpers

  • StrSanitizer (Helper)
  • NumericDecimalSanitizer (Helper)
  • Debug (Helper)