定制 afbora/kirby-loader 二次开发

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

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

afbora/kirby-loader

最新稳定版本:2.3.2

Composer 安装命令:

composer require afbora/kirby-loader

包简介

Plugins loader from multiple roots for Kirby

README 文档

README

The Kirby Loader allows you to install plugins from multiple root directories. You can easily manage plug-ins by grouping them.

Installation

Installation with composer

composer require afbora/kirby-loader

Add as git submodule

git submodule add https://github.com/afbora/kirby-loader.git site/plugins/kirby-loader

Usage

<?php

return [
    'afbora.loader.roots' => [
        // register string paths
        '/plugins/core',
        '/plugins/payment',
        '/plugins/shipping',
        
        // register single directory
        '/theme',
        
        // register with callback
        function () {
            return option('custom.option.path');
        },
    ]
];

Options

The default values of the package are:

Option Default Values Description
afbora.loader.roots [] (array) Array with the roots

All the values can be updated in the config.php file.

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-07-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固