medigeek / jmbg
A PHP Class for the Serbian JMBG Number (Unique Master Citizen Number, Jedinstveni matični broj građa
dev-master
2022-06-17 22:00 UTC
Requires
- php: >=7.4.0
This package is auto-updated.
Last update: 2025-03-18 04:14:41 UTC
README
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());