osenco/wp-settings 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

osenco/wp-settings

Composer 安装命令:

composer require osenco/wp-settings

包简介

An interactive base to create your Wordpress settings page, and a foundation for your OOP plugins.

README 文档

README

The Settings Page

Installation

Via Composer

Navigate to the base of your plugin/theme direcory and run the following command

composer require osenco/wp-settings

Remember to include the autoloder in your plugin main file, or your theme's functions.php

require_once __DIR__.'/vendor/autoload.php';

Usage

See this sample class for example usage.

The OOP Plugin Base

You can use this package as a base to create your plugin or theme in a purely OOP PHP implementation. Just install it as above and create an src directory in your theme/plugin directory that will house all your namespaced code.

Autoloading Classes

Remember to edit the composer.json file to include an autoloader for your custom code. composer.json

...
 "autoload": {
      "psr-4": {
          "Your\\Namespace\\": "src/"
      }
  }
...

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-06-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固