skywalker-labs/toolkit 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

skywalker-labs/toolkit

最新稳定版本:v1.6.0

Composer 安装命令:

composer require skywalker-labs/toolkit

包简介

A comprehensive toolkit for Laravel package and application development.

README 文档

README

🧱 Skywalker Toolkit

The Universal Architectural Foundation for Elite Laravel Engineering

Latest Version Laravel Version PHP Version Build Status Pattern PHPStan

Skywalker Toolkit is not just a utility package; it is the Universal Base Package for all Skywalker products. Designed for extreme backwards and forwards compatibility, it enforces strict Consistency, Speed, and Security across a vast array of PHP and Laravel environments ranging from legacy monolithic apps to modern microservices.

🌐 Broad System Compatibility

The Toolkit is engineered to be a drop-in foundation that just works. No strict type conflicts, no version lock-ins.

  • PHP Support: ^7.0 | ^8.0 | ^9.0
  • Laravel Support: ^6.20.45 | ^7.x | ^8.x | ^9.x | ^10.x | ^11.x | ^12.x

🏗️ The Core Pillars

1. Robust Foundation Classes

Design complex systems with a consistent base. Use Action, Dto, and Service to enforce clean boundaries.

use Skywalker\Support\Foundation\Service;

class UserRegistrationService extends Service {
    public function register(array $data): array {
        return $this->transaction(function() use ($data) {
             // Registration logic...
             return ['status' => 'success'];
        });
    }
}

2. Prefixed Architecture (PrefixedModel)

Prevent database collision in multi-package environments. The PrefixedModel allows you to isolate table names dynamically.

use Skywalker\Support\Database\PrefixedModel;

abstract class LocationModel extends PrefixedModel {
    protected $prefix = 'location_'; // Resulting table: location_locations
}

3. Advanced I/O & Profiling (Command)

Console commands designed for production. Integrated framing and structured output for professional DX.

use Skywalker\Support\Console\Command;

class SyncCommand extends Command {
    public function handle(): int {
        $this->frame("Starting Elite Sync Process");
        // Your logic here
        return 0;
    }
}

4. Zero-Friction Filesystem & Validation Helpers

Standardized access to core Laravel features with enhanced utility via global helpers and injectables.

// Global Helpers
$files = filesystem();
$validator = validator($data, $rules);

// Traits for any Class
use Skywalker\Support\Filesystem\Concerns\HasFilesystem;
use Skywalker\Support\Validation\Concerns\ValidatesAttributes;

class Processor {
    use HasFilesystem, ValidatesAttributes;

    public function process($data) {
        $this->validate($data, ['file' => 'required|string']);
        if ($this->filesystem()->exists($data['file'])) {
             // Logic...
        }
    }
}

5. Enterprise Security Foundation

The Aether Security Suite provides the bedrock for all Skywalker security packages. It includes a universal Zero-Trust engine and strictly typed validation protocols.

use Skywalker\Support\Security\ZeroTrust\TrustEngine;

$score = TrustEngine::calculateScore($user); // Returns a float security score

🛠️ Developmental Standards

Skywalker Toolkit is built with the highest engineering standards:

  • Broad Typing: Purposely stripped of strict typing (declare(strict_types=1)) to ensure native compilation in PHP 7.0 environments.
  • Static Analysis: Verified by PHPStan.
  • Automated CI: GitHub Actions integration.
  • Deep Testing: Powered by a modernized PHPUnit suite guaranteeing 100% operational success across architectures.

🩺 Integrated Package Map & HealthCheck

Monitor your entire vault of Skywalker packages with a single call.

use Skywalker\Support\Health;
use Skywalker\Support\ProjectMap;

$status = Health::check();
$packages = ProjectMap::discover();

📄 Documentation Suite

Created & Maintained by Skywalker-Labs. The foundation for excellence.

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固