承接 spress/spress-installer 相关项目开发

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

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

spress/spress-installer

Composer 安装命令:

composer require spress/spress-installer

包简介

Installer for Spress addons

README 文档

README

Build Status

Plugin and theme installer for Spress using Composer.

Package type supported:

  • spress-plugin
  • spress-theme

Installation

Adds the following to your Spress plugin or theme composer.json file:

"require": {
    "yosymfony/spress-installer": "~2.1"
}

Notice PluginInstaller 2.1 requires Spress >= 2.2.0.

Extra values

"extra": {
    "spress_class": {
        "MyVendor\\MyPlugin\\PluginClass1",
        "MyVendor\\MyPlugin\\PluginClass2"
    }
}
  • spress_class: class names of the plugins (including namespaces).

An example of composer.json file

First, an example for a simple plugin without namespaces:

{
    "name": "myname/my-spress-plugin",
    "type": "spress-plugin",
    "license": "MIT",
    "require": {
        "yosymfony/spress-installer": "~2.1"
    }
}

Second, an example for a plugin using namespace:

{
    "name": "myname/my-spress-plugin",
    "type": "spress-plugin",
    "license": "MIT",
    "require": {
        "yosymfony/spress-installer": "~2.1"
    },
    "extra": {
        "spress_class": {
            "MyVendor\\MyPlugin\\PluginClass"
        }
    }
}

Unit tests

You can run the unit tests with the following command:

$ cd your-path
$ composer.phar install
$ phpunit

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-01-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固