定制 justcoded/wordpress-starter 二次开发

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

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

justcoded/wordpress-starter

Composer 安装命令:

composer create-project justcoded/wordpress-starter

包简介

WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure

README 文档

README

WordPress Project Template by JustCoded


WordPress Project Template is a skeleton WordPress site with modern development tools, easier configuration, improved folder structure and latest security best practices.

Better project structure

The organization of skeleton is similar to putting WordPress core files in its own subdirectory, wp-content stays the same.

File structure

Dependency management with Composer

Manage your WordPress install and plugins with Composer, a PHP dependency manager. Composer will make development more reliable, help with team collaboration, and it helps maintain a better Git repository.

Easy WordPress configuration

Environment specific configuration files and environment variables with Dotenv.

Enhanced security

  • Deny access to non-web files with server directives (with .htaccess files).
  • Deny PHP scripts execution inside wp-content/uploads folder.
  • Deny browsing the directory files list.
  • Production & Staging environments have a restriction to update files from admin panel (only Media is allowed).
  • Command-line scripts for generating wp-admin HTTP Authorization files.

<< READ MORE >>

Quick start

Requirements

Installation

  1. Create a new project in a new folder for your site:

composer create-project justcoded/wordpress-starter your-project-folder-name

  1. Set important environment variables in .env file:
  • DB_NAME - Database name
  • DB_USER - Database user
  • DB_PASSWORD - Database password
  • DB_HOST - Database host
  • WP_HOME - Full URL to WordPress home (http://example.com)
  1. Run WordPress install as usual by accessing your site at http://example.com/

  2. Enjoy!

Composer helpers

  • composer wp:theme generate new theme based on our Theme Boilerplate
  • composer wp:secure generate new HTTP password for wp-admin folder

Contributing

Contributions are welcome from everyone.

统计信息

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

GitHub 信息

  • Stars: 37
  • Watchers: 3
  • Forks: 30
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固