Advanced WordPress Tooling

It used to be that WordPress required a very different toolset than other types of modern PHP apps. Now, however, PHP developers can use many of the same tools to work with WordPress that they would use with Laravel or any other PHP framework.

In this talk, we looked at how to modernize development of WordPress sites by using Bedrock to give us a modern stack, WP-CLI to interface with WordPress through the command line or even create scripts to run operations, and ways to deploy WordPress that are easier and more stable than FTP. We also looked at a myriad of workflow tools to make your WordPress development more stress-free.

On this page you’ll find resources and slides from this talk, originally given at the Chicago PHP User Group Meetup, June 2018.

Slides: https://www.slideshare.net/kkoppenhaver/advanced-wordpress-tooling

Enterprise WordPress Case Studies

Enterprise Scale WordPress – Keanan Koppenhaver

AWS re:Invent 2017: Learn to Build a Cloud-Scale WordPress Site

Big Sites that run on WordPress

New York Times Company

Time Inc.

TechCrunch

Facebook Newsroom

Variety

Local Environment

Bedrock – Environment Setup to help WordPress run as a 12 Factor App

Varying Vagrant Vagrants – WordPress specific Vagrant setup

Homestead – Useful if WordPress isn’t the only thing you work on

Development Workflow

WPackagist – Pull in WordPress plugins through Composer

Objects to Objects – A WordPress plugin/module that provides the ability to map relationships between posts and other post types.

Fieldmanager – A toolkit for developers to create complex administration screens in WordPress.

Query Monitor – A WordPress plugin for monitoring database queries, hooks, conditionals, HTTP requests, query vars, environment, redirects, and more.

Rewrite Rules Inspector – A straightforward WordPress admin tool for inspecting your rewrite rules.

Timber – Wrapper for the Twig templating engine allowing for more straightforward WordPress templates.

WP-CLI – Command line interface to perform a variety of WordPress actions, including enabling custom CLI commands

WordPress REST API

PHPCS and WPCS – Code Sniffer and Coding Standards specific to WordPress

Deployment

Trellis – Works to provision prod servers and deploy with a single command

Capistrano – Shows how Capistrano can be used to deploy WordPress (paid screencast)

Other Considerations

PHP7 – WordPress has fully supported PHP7 since release

Gutenberg – Brand new editing experience for WordPress shipping sometime in 2018

 

What else?

Questions you didn’t get to ask at the talk? Use the contact form below and get in touch! You can also reach out on Twitter @kkoppenhaver if that’s more your thing.


Contact