承接 hardimpactdev/orbit-core 相关项目开发

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

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

hardimpactdev/orbit-core

最新稳定版本:0.1.99

Composer 安装命令:

composer require hardimpactdev/orbit-core

包简介

Core functionality for orbit-web and orbit-desktop

README 文档

README

A Laravel package providing shared business logic for the Orbit ecosystem.

Latest Version on Packagist

Overview

Orbit Core is the shared foundation for orbit-cli, orbit-app, and their deployable shells (orbit-web, orbit-desktop). It contains:

  • Models: Node, Gateway, Project, Site, Setting, SshKey, TrackedJob, etc.
  • Gateway Services: GatewayManager, WgEasyService, GatewayDnsService
  • CLI Wrapper Services: StatusService, ProjectCliService, ConfigurationService, etc.
  • Pipelines: ProvisionPipeline, DeletionPipeline (site creation/deletion)
  • Jobs: CreateSiteJob, DeleteSiteJob
  • Data Objects: ProvisionContext, DeletionContext, StepResult
  • Events: SiteProvisioningStatus, SiteDeletionStatus
  • Migrations: All database schema (nodes, gateways, sites, projects, etc.)

This package contains no UI components — controllers, routes, views, and MCP servers live in orbit-app.

Installation

composer require hardimpactdev/orbit-core

Namespace

All classes use HardImpact\Orbit\Core namespace:

HardImpact\Orbit\Core\
  Models\              # Eloquent models (Node, Gateway, Site, etc.)
  Services\
    Gateway\           # VPN/DNS gateway services
    Provision\         # Site provisioning pipeline
    Deletion\          # Site deletion pipeline
    OrbitCli\          # CLI interaction wrappers
  Contracts\           # Interfaces (ProvisionLoggerContract)
  Data\                # DTOs (ProvisionContext, StepResult, etc.)
  Enums\               # NodeType, RepoIntent
  Events\              # Broadcasting events
  Jobs\                # Queueable jobs

Gateway Services

Gateway business logic lives in src/Services/Gateway/:

Service Purpose Constructor
GatewayManager CRUD gateways, VPN client registration No dependencies
WgEasyService WireGuard VPN API client string $host, int $port, string $password
GatewayDnsService TLD-to-IP DNS mappings via dnsmasq string $configPath

These are consumed by both orbit-cli (via GatewayCliAdapter) and orbit-app (via MCP tools).

Related Packages

Package Purpose
orbit-app Web UI, MCP servers, controllers (requires this)
orbit-cli Laravel Zero CLI tool (requires this)
orbit-web Deployable Laravel shell
orbit-desktop NativePHP desktop shell

License

MIT

统计信息

  • 总下载量: 471
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固