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
910
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
900
Composer_and_WordPress__1_.pdf
tarendai
0
68
REST APIs for Absolute Beginners
tarendai
0
920
VVV 2
tarendai
0
710
WordCamp Europe 2016 - Handling Anxiety
tarendai
1
430
Escape From New York
tarendai
0
670
WP The Right Way
tarendai
0
1k
Code Deodorant 2014
tarendai
1
680
Adv WP CLI
tarendai
0
670
Other Decks in Programming
See All in Programming
リアルタイムレイトレーシング + ニューラルレンダリング簡単紹介 / Real-Time Ray Tracing & Neural Rendering: A Quick Introduction (2025)
shocker_0x15
1
270
php-fpm がリクエスト処理する仕組みを追う / Tracing-How-php-fpm-Handles-Requests
shin1x1
5
890
AI時代のプログラミング教育 / programming education in ai era
kishida
23
21k
ReactFlow への移行で実現するユーザー体験と開発体験の向上
j9141997
0
150
ノーコードツールの裏側につきまとう「20分岐」との戦い
oguemon
0
200
Chrome Extension Techniques from Hell
moznion
1
150
Devinのメモリ活用の学びを自社サービスにどう組み込むか?
itarutomy
0
1.9k
PHPUnit 高速化テクニック / PHPUnit Speedup Techniques
pinkumohikan
1
1.3k
WordPress Playground for Developers
iambherulal
0
130
Defying Front-End Inertia: Inertia.js on Rails
skryukov
0
420
Agentic Applications with Symfony
el_stoffel
2
200
remix + cloudflare workers (DO) docker上でいい感じに開発する
yoshidatomoaki
0
120
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2.2k
A designer walks into a library…
pauljervisheath
205
24k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
177
52k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
30k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Raft: Consensus for Rubyists
vanstee
137
6.9k
Bash Introduction
62gerente
611
210k
Stop Working from a Prison Cell
hatefulcrawdad
268
20k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.4k
How GitHub (no longer) Works
holman
314
140k
Agile that works and the tools we love
rasmusluckow
328
21k
Code Review Best Practice
trishagee
67
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 { "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?