Weave 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

Ip Laravel Package

darsyn/ip

Laravel package for working with IP addresses: parse and validate IPv4/IPv6, compare and normalize formats, check ranges and subnet/CIDR matches, and convert between representations. Useful for request filtering, geo/security rules, and logging.

View on GitHub
Deep Wiki
Context7

API Reference

Method Returns IPv4 IPv6 Multi
factory(string $ip, [$strategy]) Static IpInterface ✓ ✓ ✓
getBinary() string ✓ ✓ ✓
equals(IpInterface $ip) bool ✓ ✓ ✓
getVersion() int ✓ ✓ ✓
isVersion(int $version) bool ✓ ✓ ✓
isVersion4() bool ✓ ✓ ✓
isVersion6() bool ✓ ✓ ✓
getNetworkIp(int $cidr) Static IpInterface ✓ ✓ ✓
getBroadcastIp(int $cidr) Static IpInterface ✓ ✓ ✓
inRange(IpInterface $ip, int $cidr) bool ✓ ✓ ✓
getCommonCidr(IpInterface $ip) int ✓ ✓ ✓
isMapped() bool ✓ ✓ ✓
isDerived() bool ✓ ✓ ✓
isCompatible() bool ✓ ✓ ✓
isEmbedded() bool ✓ ✓ ✓
isLinkLocal() bool ✓ ✓ ✓
isLoopback() bool ✓ ✓ ✓
isMulticast() bool ✓ ✓ ✓
isPrivateUse() bool ✓ ✓ ✓
isUnspecified() bool ✓ ✓ ✓
isBenchmarking() bool ✓ ✓ ✓
isDocumentation() bool ✓ ✓ ✓
isPublicUse() bool ✓ ✓ ✓
isBroadcast() bool ✓ ✓
isShared() bool ✓ ✓
isFutureReserved() bool ✓ ✓
getDotAddress() string ✓ ✓
getCompactedAddress() string ✓ ✓
getExpandedAddress() string ✓ ✓
getCompactedAddress() string ✓ ✓
getMulticastScope() ?int ✓ ✓
isUniqueLocal() bool ✓ ✓
isUnicast() bool ✓ ✓
isUnicastGlobal() bool ✓ ✓
getProtocolAppropriateAddress() 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.
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc