tourze/ip-collection-bundle

IP收集

0.1.0 2025-05-05 08:25 UTC

This package is auto-updated.

Last update: 2025-05-11 17:47:49 UTC


README

English | 中文

A Symfony Bundle for collecting and managing IP address information.

Features

  • Synchronize various public IP address lists
  • Collect BT Tracker addresses
  • Synchronize AWS IP address ranges

Installation

composer require tourze/ip-collection-bundle

Testing

Run the following command in the project root directory to execute tests:

vendor/bin/phpunit packages/ip-collection-bundle/tests

Usage

Commands

The Bundle provides the following console commands:

  • game-boost:sync-cidr - Synchronize IP address information
  • ip-collection:sync-aws-ip-range - Synchronize AWS IP address ranges
  • bt:sync-public-tracker - Collect public BT Tracker addresses

These commands can be executed automatically through scheduled tasks or run manually.

Entities

The Bundle includes the following entities:

  • IpTag - Stores IP address tag information
  • BtTracker - Stores BT Tracker information