承接 arts/github-release-browser 相关项目开发

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

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

arts/github-release-browser

最新稳定版本:v1.0.0

Composer 安装命令:

composer require arts/github-release-browser

包简介

Reusable GitHub release browser with PHP backend & React frontend

README 文档

README

A reusable GitHub release browser package with PHP backend and React frontend.

Installation

Composer

composer require arts/github-release-browser

NPM

npm install @arts/github-release-browser

Usage

PHP

use Arts\GH\ReleaseBrowser\Browser;

$browser = new Browser([
    'cache_prefix' => 'my_app_',
    'github_token' => 'your_actual_github_token_here',  // Your GitHub personal access token
    'protocol' => 'my-app://',
    'action_prefix' => 'my_app',  // Optional: default is 'github_release_browser'
]);

// Register modal integration for WordPress media library
$browser->register_modal_integration();

TypeScript/React

import { BrowserApp } from '@arts/github-release-browser';

<BrowserApp 
  config={{
    apiUrl: '/wp-admin/admin-ajax.php',
    nonce: 'your_nonce',
    actionPrefix: 'my_app',
    protocol: 'my-app://',
    onSelectAsset: (asset) => {
      console.log('Selected asset:', asset);
    }
  }}
/>

Development

# Install dependencies
npm install

# Development build
npm run dev

# Production build
npm run build

License

GPL-3.0-or-later

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2025-11-04