$30 off During Our Annual Pro Sale. View Details »
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
0
89
Composer_and_WordPress__1_.pdf
An overview of how to install WordPress, themes and plugins via Composer
Tom J Nowell
August 03, 2018
Tweet
Share
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
990
VVV 2
tarendai
0
790
WordCamp Europe 2016 - Handling Anxiety
tarendai
1
490
Escape From New York
tarendai
0
740
WP The Right Way
tarendai
0
1.1k
Code Deodorant 2014
tarendai
1
740
Adv WP CLI
tarendai
0
730
WP CLI
tarendai
0
680
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
The Pragmatic Product Professional
lauravandoore
37
7.1k
Git: the NoSQL Database
bkeepers
PRO
432
66k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
1k
Designing Experiences People Love
moore
143
24k
Become a Pro
speakerdeck
PRO
31
5.7k
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
GitHub's CSS Performance
jonrohan
1032
470k
Bash Introduction
62gerente
615
210k
A better future with KSS
kneath
240
18k
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