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

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

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

skywalker-labs/location

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.

skywalker-labs/location 适用场景与选型建议

skywalker-labs/location 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 79 次下载、GitHub Stars 达 7, 最近一次更新时间为 2026 年 02 月 15 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「persistence」 「php」 「geoip」 「laravel」 「location」 「geo-location」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 skywalker-labs/location 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 skywalker-labs/location 我们能提供哪些服务?
定制开发 / 二次开发

基于 skywalker-labs/location 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

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

其他信息

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