kerryrandolph/modern-wp-plugin

A modern starting point for building a Wordpress plugin

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

Type:wordpress-plugin

pkg:composer/kerryrandolph/modern-wp-plugin

dev-master 2019-07-02 17:50 UTC

This package is auto-updated.

Last update: 2025-09-29 02:22:27 UTC


README

A modern starting point for building wordpress plugins

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock

Requirements

  • PHP 7.2+

Features

  • Dependency Injection (PHP-DI)
  • Unit Testing (PHPUnit)
  • Hook Annotations
  • Carbon Fields (Metabox)
  • Logging (Monolog)
  • Environment loading (PHP Dotenv)

Install

Via Composer

$ composer create-project kerryrandolph/modern-wp-plugin-jumpstart

Setup

  1. Modify main plugin file header (modern-wp-plugin-jumpstart.php)
  2. Rename main plugin file
  3. Rename root namespace: Do a global search/replace for "UniqueRootNamespace"

Usage

Happy coding!

See WordpressExample.php for tips.

License

Modern WP Plugin Jumpstart is released under the MIT License.