Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Composer_and_WordPress__1_.pdf
Search
Tom J Nowell
August 03, 2018
96
0
Share
Composer_and_WordPress__1_.pdf
An overview of how to install WordPress, themes and plugins via Composer
Tom J Nowell
August 03, 2018
More Decks by Tom J Nowell
See All by Tom J Nowell
Using Blocks Outside The Editor
tarendai
0
1.1k
REST APIs for Absolute Beginners
tarendai
0
1k
VVV 2
tarendai
0
850
WordCamp Europe 2016 - Handling Anxiety
tarendai
1
550
Escape From New York
tarendai
0
800
WP The Right Way
tarendai
0
1.1k
Code Deodorant 2014
tarendai
1
800
Adv WP CLI
tarendai
0
770
WP CLI
tarendai
0
740
Featured
See All Featured
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
230
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
240
Navigating Weather and Climate Data
rabernat
0
210
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
130
Chasing Engaging Ingredients in Design
codingconduct
0
210
GraphQLとの向き合い方2022年版
quramy
50
15k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
22k
Transcript
Composer & WordPress Deploy All The Things - Tom J
Nowell
1. What is Composer 2. Installing WordPress 3. Installing a
Theme 4. Installing a Plugin
What is Composer?
composer.json
Is it Valid?
composer.json
Installing WordPress Via Packagist
None
None
composer.json
None
None
Installing Themes WPackagist to the rescue
None
None
None
Installing a Plugin Lets install Akismet
None
None
None
Some notes lock files, dev dependencies, the vendor folder
The Vendor Folder Contains libraries and an autoloader
The Lock File Contains a record of what Composer installed
"require-dev" Add dev specific plugins/packages "require" : { "johnpbloch/wordpress": ">=4.9",
"wpackagist-theme/twentyseventeen": "*", "wpackagist-plugin/akismet": "*", "php": ">=7.0" }, "require-dev" : { "wpackagist-plugin/query-monitor": "*" } }
Dev vs Production composer install --dev composer install --no-dev
Questions? https://tomjn.com @tarendai