Download the PHP package siaoynli/plugin-store without Composer

On this page you can find all versions of the php package siaoynli/plugin-store. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package plugin-store

📦 siaoynli/plugin-store

基于 siaoynli/laravel-plugins 插件系统的 插件市场/仓库管理包。提供插件的增删改查、Composer 安装、Zip 上传安装、卸载、启用/禁用等完整管理能力。前端为内嵌 Vue3 SPA。

PHP Laravel

✨ 功能特性

🚀 快速开始

1. 安装

2. 运行迁移

3. 发布静态资源

前端构建产物发布到 public/plugins/siaoynli-plugin-store/ 目录。

4. 访问管理界面

浏览器打开 /plugin-store/ 即可进入插件市场管理后台。

📋 系统要求

依赖 版本
PHP ^8.2
Laravel ^11.0
siaoynli/laravel-plugins ^1.0
ext-zip *

📁 项目结构

🔌 API 接口

方法 路径 说明
GET /api/plugin-store/plugins 插件列表(搜索/筛选/分页)
GET /api/plugin-store/plugins/{id} 插件详情
POST /api/plugin-store/plugins 创建插件
PUT /api/plugin-store/plugins/{id} 更新插件
DELETE /api/plugin-store/plugins/{id} 删除插件(软删除)
PATCH /api/plugin-store/plugins/{id}/toggle 启用/禁用切换
POST /api/plugin-store/install Composer 安装
POST /api/plugin-store/upload Zip 上传安装
POST /api/plugin-store/uninstall/{id} 卸载插件
POST /api/plugin-store/refresh 同步已安装插件
GET /api/plugin-store/categories 分类列表
POST /api/plugin-store/categories 创建分类
PUT /api/plugin-store/categories/{id} 更新分类
DELETE /api/plugin-store/categories/{id} 删除分类

⚙️ 配置

发布配置文件:

配置文件位于 config/plugins/siaoynli-plugin-store.php

🛠️ 本地开发

后端

前端

注意:修改前端代码(Vue 组件、TS、样式等)后,必须在提交前重新执行 npm run build,确保 resources/assets/ 下的构建产物与源码同步。

📦 添加插件到市场

方式一:Composer 安装

  1. 在管理界面点击「添加插件」
  2. 填写 Composer 包名(如 vendor/package-name)和显示名称
  3. 点击「安装」→ 输入版本号(可选)→ 通过 Composer 安装

方式二:Zip 上传

  1. 准备符合规范的 zip 包(包含 composer.json + extra.plugin.class
  2. 在管理界面点击「添加插件」
  3. 填写基本信息后,选择「上传 Zip」方式安装

Zip 包规范

📝 常用命令

🤝 贡献

欢迎提交 Issue 和 Pull Request。

📄 许可证

MIT License


All versions of plugin-store with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
laravel/framework Version ^11.0
siaoynli/laravel-plugins Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package siaoynli/plugin-store contains the following files

Loading the files please wait ...