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
97
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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.2k
REST APIs for Absolute Beginners
tarendai
0
1k
VVV 2
tarendai
0
880
WordCamp Europe 2016 - Handling Anxiety
tarendai
1
580
Escape From New York
tarendai
0
820
WP The Right Way
tarendai
0
1.1k
Code Deodorant 2014
tarendai
1
820
Adv WP CLI
tarendai
0
780
WP CLI
tarendai
0
750
Featured
See All Featured
The Pragmatic Product Professional
lauravandoore
37
7.4k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
320
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
How to Think Like a Performance Engineer
csswizardry
28
2.7k
So, you think you're a good person
axbom
PRO
2
2.1k
Embracing the Ebb and Flow
colly
88
5.1k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
970
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.3k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Visualization
eitanlees
152
17k
My Coaching Mixtape
mlcsv
0
170
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
870
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