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
840
WordCamp Europe 2016 - Handling Anxiety
tarendai
1
550
Escape From New York
tarendai
0
790
WP The Right Way
tarendai
0
1.1k
Code Deodorant 2014
tarendai
1
800
Adv WP CLI
tarendai
0
770
WP CLI
tarendai
0
730
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
240
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
150
4 Signs Your Business is Dying
shpigford
187
22k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
1
310
Navigating Team Friction
lara
192
16k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
390
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