PHPackages                             millermedia/modern-wordpress - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. millermedia/modern-wordpress

ActiveLibrary[Framework](/categories/framework)

millermedia/modern-wordpress
============================

Provides a modern object oriented wordpress plugin development framework.

1.4.0(8y ago)329GNU General Public License (GPL) v3.0PHP

Since Dec 1Pushed 7y ago4 watchersCompare

[ Source](https://github.com/Miller-Media/modern-framework)[ Packagist](https://packagist.org/packages/millermedia/modern-wordpress)[ RSS](/packages/millermedia-modern-wordpress/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (7)Versions (42)Used By (0)

Modern Framework for Wordpress v1.X
===================================

[](#modern-framework-for-wordpress--v1x)

This version of the framework has been replaced by V2 located [here](https://github.com/codefarma/mwp-framework)

This "plugin" provides a foundation of object oriented design patterns, bootstrap classes, and api abstractions for wordpress that enable very rapid development of new wordpress plugins. It also provides several utilities to auto generate new plugin resources and automatically manage new plugin builds/releases.

Documentation
-------------

[](#documentation)

- [Annotations](https://github.com/Miller-Media/modern-wordpress/wiki/@Annotations)
- [Framework Classes](https://github.com/Miller-Media/modern-wordpress/wiki)
- [WP CLI](https://github.com/Miller-Media/modern-wordpress/wiki/WP-CLI)
- [Boilerplate](https://github.com/Miller-Media/wp-plugin-boilerplate)

Main features
-------------

[](#main-features)

- Simply document your functions using [@annotations](https://github.com/Miller-Media/modern-wordpress/wiki/@Annotations) and let the framework automatically hook them into core.
- Develop rapidly by [extending base classes](https://github.com/Miller-Media/wp-plugin-boilerplate) that bootstrap your plugin, settings pages, widgets, post types, and more.
- Use [the command line](https://github.com/Miller-Media/modern-wordpress/wiki/WP-CLI) to create new plugin stylesheets, scripts, templates, and php classes.
- Safely add dependencies on php libraries or other wordpress plugins and they will be managed automatically.
- Easily keep all your html in individual re-usable templates that maintain theme override capabilities.
- Leverage a built in task runner to easily send routine tasks off to a managed queue to be ran by cron.
- Create tables for your plugin and let the framework automatically track and update their changes on new releases.
- Build new release packages with a single command and all your plugin files are versioned automatically.

How to get started:
-------------------

[](#how-to-get-started)

1. **Install the packaged plugin and any dependencies**

Once you have WP CLI installed:

```
$ wp plugin install https://github.com/Miller-Media/modern-wordpress/raw/master/builds/modern-framework-stable.zip --activate

```

> Note: If installing to a multisite wordpress, use --activate-network instead of --activate to activate the plugin from the command line.

2. Enable developer mode

> To enable developer mode: Create or edit the **dev\_config.php** file in the *wp-content/plugins/modern-framework/* directory and add:

```
