承接 skywalker-labs/location 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

skywalker-labs/location

最新稳定版本:v2.0.0

Composer 安装命令:

composer require skywalker-labs/location

包简介

OmniLocate: Advanced user location detection for Laravel with persistence, caching, and distance utilities.

README 文档

README

📍 OmniLocate

Elite Location Intelligence, Threat Monitoring & Hybrid Verification for Laravel

Latest Version Laravel Version PHP Quality License

OmniLocate is a high-performance geographical intelligence package built on the Skywalker Toolkit Foundation. It combines traditional IP geolocation with modern security features like Hybrid GPS Verification, Bot Guard, and Adaptive Risk Scoring.

Get StartedFeaturesSecurityDashboard

💎 Why Choose OmniLocate?

OmniLocate isn't just a wrapper around IP-API. It is an Elite-Grade solution designed for applications where accuracy and security are non-negotiable.

  • Extreme Type Safety: 100% compliant with PHPStan Level 9.
  • Hybrid Verification: Detects sophisticated IP/VPN spoofing by cross-checking against device GPS.
  • Action-Oriented Architecture: Clean, scalable, and modular design inspired by elite industry standards.
  • Zero-Config Security: Built-in protection against SSRF, anonymous Tor traffic, and fake crawlers.

🚀 Quick Start

Perfect for getting your project up and running in minutes.

1. Installation

composer require skywalker-labs/location

2. Setup

php artisan vendor:publish --provider="Skywalker\Location\LocationServiceProvider"
php artisan migrate

3. Usage

use Skywalker\Location\Facades\Location;

// Auto-detect visitor location
$position = Location::get(); 

echo $position->countryName; // e.g., "United States"
echo $position->cityName;    // e.g., "New York"

🧠 Pro Intelligence

A. In-View Location (Blade)

Display location data to users without writing a single line of PHP:

Welcome from {{ @location('cityName') }}!

B. Hybrid Geolocation (The "Omni" Factor)

Detect spoofing by comparing IP data with actual GPS coordinates:

if ($position->is_spoofed) {
    // Distance > 500km between IP and GPS detected
    abort(403, 'Location Verification Failed');
}

C. Adaptive Rate Limiting

Automatically slow down high-risk IPs while keeping normal users fast ⚡:

Route::middleware(['location.rate-limit'])->group(function () {
    Route::post('/login', [LoginController::class, 'store']);
});

📊 Intelligence Dashboard

OmniLocate includes a comprehensive real-time dashboard to visualize your traffic, monitor threats, and track geographical trends.

  • Real-time Traffic Mapping
  • Automated Bot Discovery
  • Threat & Block Analytics

Access it at: /omni-locate/dashboard

🛡️ Security & Integrity

  • Verified Crawler Logic: Uses Reverse DNS to ensure Googlebot/Bingbot are legitimate before allowing access.
  • SSRF Protection: Hardened driver layer that blocks internal IP lookups and prevents data leakage.
  • Trusted Proxy Support: Fully compatible with Cloudflare, Akamai, and AWS load balancers.

🔧 Driver Support

Switch between 8+ enterprise drivers with intelligent failover:

  • MaxMind (Local & Web)
  • IpInfo, IpData, IpApi
  • GeoPlugin
  • HttpHeader (Proximity Headers)

🤝 Community & Support

Created & Maintained by Skywalker-Labs Team. Distributed under the MIT License.

统计信息

  • 总下载量: 77
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 7
  • 点击次数: 8
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固