tourze/ip-collection-bundle
Tourze IP Collection Bundle packages reusable IP address collection services for Symfony/PHP applications, offering entity mappings and integration hooks so you can store, organize, and query IP lists without rebuilding the same infrastructure.
composer require tourze/ip-collection-bundle (check that the version constraint matches ^0.1).Tourze\IpCollectionBundle\IpCollectionBundle in config/bundles.php. For Laravel: look for a service provider or use the underlying IP collection service directly; the bundle name suggests Symfony-first, so expect to wire it manually.config/packages/ip_collection.yaml). Start with the default storage (likely in-memory or a simple repository) to verify it works.IpCollectionInterface or similar) in a controller or middleware. Log the IP or persist it to a database table if the bundle provides a Doctrine entity.README.md, src/ for the main service class, and DependencyInjection/ for config options. Since this is 0.1.0, documentation may be minimal—inspect the tests for usage examples.IpUtils or Laravel’s Request::ip() for validation.X-Forwarded-For. Configure trusted proxies in your framework first, otherwise you’ll collect the proxy IP instead of the client IP.ip2long, IPv6 will break—check for inet_pton or similar.0.1.*) and review the changelog before upgrading. The release notes only link to a diff, so read the commit history for details.IpStorageInterface) to swap out storage or add custom filtering. The bundle may also expose events you can listen to for custom processing.How can I help you explore Laravel packages today?