定制 spoadev/llls-connector 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

spoadev/llls-connector

最新稳定版本:v1.0.0

Composer 安装命令:

composer require spoadev/llls-connector

包简介

Light License Laravel Server Connector for PHP clients

README 文档

README

Connector package to verify licenses from LLLS (Light Laravel License Server) by SPOAdev.

Installation

Add to your project using Composer:

composer require spoadev/llls-connector

Usage Example

use Llls\Connector\LicenseConnector;

$connector = new LicenseConnector('https://llls.domain.tld');

$response = $connector->verify('LICENSE-KEY', 'end-client-domain.tld');

if (($response['status'] ?? '') === 'valid') {
    $payload = $response['update'] ?? [];

    // Handle update data
    if (!empty($payload)) {
        // Example:
        // $payload['latest_version']
        // $payload['download_url']
        // $payload['changelog']
    }
}

Response Example

{
  "status": "valid",
  "message": "License is valid",
  "expires_at": "2025-07-15 00:00:00",
  "update": {
    "latest_version": "2.3.5",
    "download_url": "https://my.storage.tld/update.zip",
    "changelog": "Performance improvements",
    "force_update": "true"
  }
}

Optional: Guzzle Support

If Guzzle is available, the connector will use it automatically. Otherwise, it will fallback to native PHP cURL.

To install Guzzle:

composer require guzzlehttp/guzzle

Requirements

  • PHP 7.4 or higher
  • Laravel, WordPress, Symfony, or any PHP environment

Version

1.0.0 — Initial release

Changelog

1.0.0 (04/15/2025)

  • Initial release
  • License verification via POST
  • Dynamic update payload support
  • Guzzle fallback to cURL
  • Compatible with any PHP client

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-04-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固