Skip to content

Releases: alceanicu/cnp

3.0.0

18 Jan 12:48
Compare
Choose a tag to compare

2.1.6

27 Feb 08:29
8470955
Compare
Choose a tag to compare

Update phpUnit test to version 9

2.1.5

26 Feb 11:16
16a0d8b
Compare
Choose a tag to compare

Update phpUnit test to version 9

2.1.4

19 Aug 07:59
Compare
Choose a tag to compare
  • add 2 new methods:
    • isPersonMajor(): boolean - check if person is major (>=18 years)
    • hasIdentityCard(): boolean - check if has an Identity card (CI) emite from Police (>=14 years)

2.1.3

11 Aug 11:35
2082c8d
Compare
Choose a tag to compare
Update README.md

2.1.2

06 Aug 07:19
e9ca91c
Compare
Choose a tag to compare
  • add new static validator (EX: Cnp::validate($cnp);
  • catch exception when $cnp that we whant to validate is not string or int;
  • add more test