Skip to content

Releases: cherifGsoul/php-algerian-mobile-phone-number

v0.5.0

14 Jun 13:49
3cd667c
Compare
Choose a tag to compare

Can compare with different country number.

$phoneNumber = AlgerianMobilePhoneNumber::fromString('0699000000');
$other = AlgerianMobilePhoneNumber::fromString('00213699000000');
$phoneNumber->equals($other); // -> true

#7

v0.4.0

13 Jun 16:50
Compare
Choose a tag to compare

Dash separated format.

#5

v0.3.1

13 Jun 16:25
9209bda
Compare
Choose a tag to compare

Fix isOoredoo and __toString return type.

#4

v0.3.0

13 Jun 10:28
Compare
Choose a tag to compare

Adds the ability to accept other formats like:
07 xx xx xx or 00213 7 xx xx xx.

v0.2.0

10 Jun 16:30
3556019
Compare
Choose a tag to compare
Merge pull request #1 from hfend/patch-1

Fix typo

v0.1.3

10 Jun 16:29
Compare
Choose a tag to compare
Update PHP version requirement

v0.1.2

10 Jun 15:58
Compare
Choose a tag to compare
Update PHP version requirement

v0.1.1

10 Jun 15:54
Compare
Choose a tag to compare
Update php version and stability

v0.1

10 Jun 15:36
Compare
Choose a tag to compare

Initial release:

  • Creating the immutable value object
  • Validate Algerian mobile phone numbers
  • Compare values
  • Replace values
  • Cast to string