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 & WordPress
Search
Tom J Nowell
October 16, 2013
Programming
0
930
Composer & WordPress
Slides from a MWUG talk given on Wednesday the 16th
Tom J Nowell
October 16, 2013
Tweet
Share
More Decks by Tom J Nowell
See All by Tom J Nowell
Using Blocks Outside The Editor
tarendai
0
940
Composer_and_WordPress__1_.pdf
tarendai
0
71
REST APIs for Absolute Beginners
tarendai
0
950
VVV 2
tarendai
0
740
WordCamp Europe 2016 - Handling Anxiety
tarendai
1
450
Escape From New York
tarendai
0
690
WP The Right Way
tarendai
0
1k
Code Deodorant 2014
tarendai
1
700
Adv WP CLI
tarendai
0
680
Other Decks in Programming
See All in Programming
Porting a visionOS App to Android XR
akkeylab
0
480
Rails Frontend Evolution: It Was a Setup All Along
skryukov
0
160
Result型で“失敗”を型にするPHPコードの書き方
kajitack
5
920
効率的な開発手段として VRTを活用する
ishkawa
0
140
チームで開発し事業を加速するための"良い"設計の考え方 @ サポーターズCoLab 2025-07-08
agatan
1
430
地方に住むエンジニアの残酷な現実とキャリア論
ichimichi
5
1.6k
XP, Testing and ninja testing
m_seki
3
250
技術同人誌をMCP Serverにしてみた
74th
1
650
なんとなくわかった気になるブロックテーマ入門/contents.nagoya 2025 6.28
chiilog
1
270
PicoRuby on Rails
makicamel
2
130
状態遷移図を書こう / Sequence Chart vs State Diagram
orgachem
PRO
1
120
Azure AI Foundryではじめてのマルチエージェントワークフロー
seosoft
0
180
Featured
See All Featured
For a Future-Friendly Web
brad_frost
179
9.8k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Designing for humans not robots
tammielis
253
25k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.9k
Measuring & Analyzing Core Web Vitals
bluesmoon
7
510
Automating Front-end Workflow
addyosmani
1370
200k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Producing Creativity
orderedlist
PRO
346
40k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
It's Worth the Effort
3n
185
28k
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 { "name" : "tomjn/myproject", "description": "A handy description.", "require"
: { "php": ">=5.3" } }
Is it Valid? ~/www/test › composer validate ./composer.json is valid,
but with a few warnings See http://getcomposer.org/doc/04-schema.md for details on the schema No license specified, it is recommended to do so. For closed-source software you may use "proprietary" as license.
composer.json { "name" : "tomjn/myproject", "description": "A handy description.", "license":
"GPL-2.0+", "require" : { "johnpbloch/wordpress": "3.6.1", "php": ">=5.3" } }
~/www/test › composer install Loading composer repositories with package information
Installing dependencies (including require-dev) - Installing johnpbloch/wordpress-core- installer (0.2.0) Downloading: 100% - Installing johnpbloch/wordpress (3.6.1) Downloading: 100% Writing lock file Generating autoload files
None
{ "name" : "tomjn/myproject", "description": "A handy description.", "license": "GPL-2.0+",
"repositories": [ { "type": "package", "package": { "name": "wordpress/twentythirteen", "version": "1.0", "type": "wordpress-theme", "source": { "url": "http://themes.svn.wordpress.org/", "type": "svn", "reference": "twentythirteen/1.0/" }, "require": { "composer/installers": "~1.0" } } } ], "require" : { "johnpbloch/wordpress": "3.6.1", "wordpress/twentythirteen": "1.0", "php": ">=5.3" } }
~/www/test › composer update Loading composer repositories with package information
Updating dependencies (including require-dev) - Installing wordpress/twentythirteen (1.0) Checking out twentythirteen/1.0/ Writing lock file Generating autoload files
{ "name" : "tomjn/myproject", "description" : "A handy description.", "license"
: "GPL-2.0+", "repositories": [ { "type": "composer", "url": "http://wpackagist.org" }, { "type": "package", "package": { "name": "wordpress/twentythirteen", …………………………………………….. "require" : { "johnpbloch/wordpress": "3.6.1", "wordpress/twentythirteen": "1.0", "wpackagist/akismet": "*", "php": ">=5.3" } }
~/www/test › composer update Loading composer repositories with package information
Updating dependencies (including require-dev) - Installing wpackagist/akismet (trunk) Downloading: 100% Writing lock file Generating autoload files
None
Final Steps
Questions?