All Projects → lira92 → flunt.br

lira92 / flunt.br

Licence: MIT license
Extensions of Flunt for Brazilian projects

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to flunt.br

burocracia.cr
No dependency Crystal shard to validate, generate and format Brazilian burocracias such as CPF, CNPJ and CEP
Stars: ✭ 21 (-50%)
Mutual labels:  cep, cpf, cnpj
insomnia-plugin-documents-br
O plugin tem a finalidade de gerar documentos e alguns dados mais usados, o foco é para dados do Brasil.
Stars: ✭ 21 (-50%)
Mutual labels:  cpf, cnpj, telefone
Brasil
.NET DevPack BR é uma coleção de utilidades como classes de documentos nacionais (CPF, CNPJ) com validação e classes de utilidade em geral. Desenvolvido para ser utilizado junto com o NetDevPack
Stars: ✭ 64 (+52.38%)
Mutual labels:  cpf, cnpj
Rivus cep
Complex event processing in Erlang
Stars: ✭ 140 (+233.33%)
Mutual labels:  cep
Correios Cep
Find Brazilian addresses by zipcode, directly from Correios database. No HTML parsers.
Stars: ✭ 166 (+295.24%)
Mutual labels:  cep
beepbeep-3
An event stream processor anyone can use
Stars: ✭ 20 (-52.38%)
Mutual labels:  cep
PySiddhi
Python wrapper for Siddhi engine
Stars: ✭ 22 (-47.62%)
Mutual labels:  cep
Wayeb
Wayeb is a Complex Event Processing and Forecasting (CEP/F) engine written in Scala.
Stars: ✭ 138 (+228.57%)
Mutual labels:  cep
Ui Dna
programmable and semantically UI design tool for Photoshop
Stars: ✭ 126 (+200%)
Mutual labels:  cep
validar-cpf
Valida um número de CPF baseado no algorítmo "módulo 11" - Brazilian Natural Persons Register validator.
Stars: ✭ 13 (-69.05%)
Mutual labels:  cpf
esper-demo-nuclear
Simple demo of some features of the Esper Complex Event Processing (CEP) engine.
Stars: ✭ 83 (+97.62%)
Mutual labels:  cep
correios-cep-elixir
Find Brazilian addresses by postal code, directly from Correios API. No HTML parsers.
Stars: ✭ 38 (-9.52%)
Mutual labels:  cep
Cep Promise
Busca por CEP integrado diretamente aos serviços dos Correios, ViaCEP e outros (Node.js e Browser)
Stars: ✭ 2,483 (+5811.9%)
Mutual labels:  cep
cnpj
🇧🇷 Validate, generate and format CNPJ numbers
Stars: ✭ 78 (+85.71%)
Mutual labels:  cnpj
Pycep Correios
📦 API para busca de CEP integrado ao serviços dos Correios, ViaCEP e ApiCEP (WideNet)
Stars: ✭ 141 (+235.71%)
Mutual labels:  cep
ViaCEP
The ViaCEP API/webservice .NET client
Stars: ✭ 21 (-50%)
Mutual labels:  cep
fiware-cepheus
FIWARE Cepheus - CEP for NGSI IoT gateways
Stars: ✭ 17 (-59.52%)
Mutual labels:  cep
FritzBoxTelefon-dingsbums
Das Fritz!Box Telefon-dingsbums ist ein Outlook-Addin, welches ein direktes Wählen der Kontakte aus Outlook ermöglicht. Zusätzlich bietet es nützliche Funktionen, wie einen Anrufmonitor oder eine Rückwärtssuche.
Stars: ✭ 16 (-61.9%)
Mutual labels:  telefone
graphql-cep
Query any CEP using GraphQL - https://graphql-cep-liimjftpnr.now.sh
Stars: ✭ 22 (-47.62%)
Mutual labels:  cep
zipcode
ZipCode Cep do Brazil
Stars: ✭ 43 (+2.38%)
Mutual labels:  cep

alt text

Flunt.Br

Build status NuGet

About

Flunt.Br is a lib with a set of extensions for Flunt to validate Brazilian attributes, like cpf, cnpj, cep and phone

Sobre

Flunt.Br é uma biblioteca com um conjunto de extensões para o Flunt para validar atributos Brasileiros, como cpf, cnpj, cep e telefone.

Instalation / Instalação

This package is available through Nuget Packages / Esse pacote está disponível através de um pacote nuget: https://www.nuget.org/packages/Flunt.Br

Nuget

Install-Package Flunt.Br

.NET CLI

dotnet add package Flunt.Br

Usage

This lib enables in your validation contracts this methods:

var contratct = new Contract()
    .IsCpf(person.document, "Document", "Invalid document")
    .IsCnpj(company.document, "Document", "Invalid document")
    .IsCnpjOrCPF(empresa.documento, "Documento", "Documento inválido")
    .IsPhone(company.phone, "Phone", "Invalid phone")
    .IsCellPhone(person.cellphone, "Phone", "Invalid cellphone")
    .IsNewFormatCellPhone(person.cellphone, "Phone", "Invalid cellphone")
    .IsCep(company.Cep, "Cep", "Invalid Cep")
    .IsVoterDocument(person.VoterDocument, "VoterDocument", "Invalid Voter Document")
    .IsCreditCard(person.CreditCardNumber, "CreditCardNumber", "Invalid Credit Card");

Como Usar

Essa biblioteca possibilita esses métodos em seus Validation Contracts:

var contratct = new Contract()
    .IsCpf(pessoa.documento, "Documento", "Documento inválido")
    .IsCnpj(empresa.documento, "Documento", "Documento inválido")
    .IsCnpjOrCPF(empresa.documento, "Documento", "Documento inválido")
    .IsPhone(empresa.telefone, "Telefone", "Telefone inválido")
    .IsCellPhone(pessoa.telefone, "Telefone", "Telefone inválido")
    .IsNewFormatCellPhone(pessoa.telefone, "Telefone", "Telefone inválido")
    .IsCep(company.Cep, "Cep", "Cep Inválido")
    .IsVoterDocument(person.VoterDocument, "TituloDoEleitor", "Título do Eleitor inválido")
    .IsCreditCard(person.CreditCardNumber, "NumeroCartaoDeCredito", "Número de cartão de crédito inválido");

Contributors

The logo was made by Chrysthowam Santos, Thanks!

Contribuidores

A logo foi feita por Chrysthowam Santos, Obrigado!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].