Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Algerian Mobile Phone Number Laravel Package

cherif/algerian-mobile-phone-number

View on GitHub
Deep Wiki
Context7
v0.5.0

Can compare with different country number.

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

#7

v0.4.0

Dash separated format.

#5

v0.3.1

Fix isOoredoo and __toString return type.

#4

v0.3.0

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

v0.2.0
v0.1.3
v0.1.2
v0.1.1
v0.1

Initial release:

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

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codraw/entity-migrator
codraw/doctrine-extra
codraw/aws-tool-kit
codraw/validator
codraw/workflow
codraw/open-api
codraw/cron-job
codraw/process
codraw/log
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony