Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 431 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 431 Bytes

License: MIT

Introduction

A PHP Class for the Serbian JMBG Number (Unique Master Citizen Number, Jedinstveni matični broj građana).

Simple example:

<?php

require "JMBG.php";

use MediGeek\JMBG;

$jmbg = new JMBG("0101001735005");
$jmbg->validate();
//var_dump($jmbg->getParsed("json"));
var_dump($jmbg->getParsed());