承接 chrisguitarguy/wordpress-skeleton 相关项目开发

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

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

chrisguitarguy/wordpress-skeleton

最新稳定版本:1.0.0

Composer 安装命令:

composer require chrisguitarguy/wordpress-skeleton

包简介

WordPress, Composer, and S3

关键字:

README 文档

README

A modern (whatever that means) WordPress skeleton to use for creating Composer based WordPress installations.

Gettings Started

Create a new project with composer:

$ composer create-project chrisguitarguy/wordpress-skeleton new-site ~1.0
$ cd new-site

From here you can add new dependencies to composer.json, remove the example plugins and themes and do any modifications you need.

Autoloading

The plugins and themes you build should be autoloaded with composer.json. See the example plugin line there right now:

{
    "autoload": {
        "psr-4": {
            "Chrisguitarguy\\Skeleton\\ExamplePlugin\\": "web/content/plugins/example/inc/"
        },
        "files": [
            "web/content/plugins/example/inc/functions.php"
        ]
    }
}

Only autoload file that declare symbols (functions, contants, classes)! Not files that cause side effects.

Excluding Files from Version Control

Because not all packages can go in /vendor, you'll need to manually exclude things via .gitignore (or .hgignore, .svnignore, etc). There's an example here with the WordPress SEO plugin which is ignored in .gitignore:

/web/content/plugins/wordpress-seo

You're Missing {X} From wp-config.php

Correct. This is meant to get you started, not make all the choices for you.

The various salts are missing, for example. You could add those yourself to another file and include it from wp-config.php or let WordPress generated them for you and save them in the database (what happens when they are missing).

WHY?!

Because composer is nice and WordPress needs a good dose of modern development practices.

License

MIT. See the LICENSE file.

统计信息

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

GitHub 信息

  • Stars: 16
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固