Git Product home page Git Product logo

opes's Introduction

opes

Build Status

Brazilian Value Objects (VO)s for common use cases.

We are constantly solving the same problems again and again in every project that uses some common domain model. In Brazil we have some abstractions that are used everywhere. Every developer probably has (or at least should have) an implementation for CPF, CNPJ, CEP etc.

opes is an attempt to aid developers in Brazil to focus on more important problems, rather than implementing this kind of code one more time. opes is tested and used in production code in many projects, and hopefully will be in your project from now on.

We currently have implementations for CPF, CNPJ, CPF/CNPJ, CEP, CNS, Email and Uf.

opes is available on Maven Central, and requires at least Java 8.

You can add this dependency to your Maven project:

<dependency>
  <groupId>me.yanaga</groupId>
  <artifactId>opes</artifactId>
  <version>1.0.1</version>
</dependency>

Or if you are using Gradle:

compile "me.yanaga:opes:1.0.1"

#opes (versão em português)

Value Objects (VO)s para casos de uso comuns no Brasil.

Nós estamos constantemente resolvendo os mesmos problemas em cada projeto que utiliza um modelo de negócios comum. No Brasil temos algumas abstrações que simplesmente são utilizadas em todo lugar. Todo desenvolvedor acaba tendo (ou ao menos deveria ter) uma implementação própria de CPF, CNPJ, CEP etc.

O opes é uma tentativa de ajudar desenvolvedores no Brasil a focar em problemas mais importantes, ao invés de perder tempo implementando esse tipo de código mais uma vez. O opes é testado e utilizado em produção em vários projetos, e temos a esperança de que ele poderá ajudar e será utilizado em seu próximo projeto também.

Atualmente temos implementações para CPF, CNPJ, CPF/CNPJ, CEP, CNS, Email e Uf. Mas a lista continua crescendo.

O opes está disponível no Maven Central, e requer no mínimo Java 8.

Você pode utilizar esta dependência do Maven em seu projeto:

<dependency>
  <groupId>me.yanaga</groupId>
  <artifactId>opes</artifactId>
  <version>1.0.1</version>
</dependency>

Ou se você utiliza Gradle:

compile "me.yanaga:opes:1.0.1"

opes's People

Contributors

yanaga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.