Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Composer_and_WordPress__1_.pdf
Search
Tom J Nowell
August 03, 2018
100
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
Transcript
26 slides
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
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
1.1k
VVV 2
tarendai
0
950
WordCamp Europe 2016 - Handling Anxiety
tarendai
1
620
Escape From New York
tarendai
0
850
WP The Right Way
tarendai
0
1.2k
Code Deodorant 2014
tarendai
1
860
Adv WP CLI
tarendai
0
820
WP CLI
tarendai
0
790
Featured
See All Featured
Thoughts on Productivity
jonyablonski
76
5.5k
30 Presentation Tips
portentint
PRO
1
480
GitHub's CSS Performance
jonrohan
1033
470k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
480
Automating Front-end Workflow
addyosmani
1370
210k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
61k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.5k
The Pragmatic Product Professional
lauravandoore
37
7.5k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k