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
Code Dependencies and Composer
Search
Tom J Nowell
April 26, 2014
Technology
1.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Code Dependencies and Composer
Tom J Nowell
April 26, 2014
More Decks by Tom J Nowell
See All by Tom J Nowell
Using Blocks Outside The Editor
tarendai
0
1.2k
Composer_and_WordPress__1_.pdf
tarendai
0
98
REST APIs for Absolute Beginners
tarendai
0
1k
VVV 2
tarendai
0
910
WordCamp Europe 2016 - Handling Anxiety
tarendai
1
600
Escape From New York
tarendai
0
830
WP The Right Way
tarendai
0
1.1k
Code Deodorant 2014
tarendai
1
830
Adv WP CLI
tarendai
0
790
Other Decks in Technology
See All in Technology
GuardDuty 検知対応を DevOps Agent で効率化しようとしている話 / GuardDuty Investigations with DevOps Agent
masahirokawahara
1
280
生成AI時代の クレデンシャルとパーミッション設計
nrinetcom
PRO
3
1.5k
Tab5をRubyで動くパソコンにする
kishima
1
130
KAEN Company Deck
kaen
PRO
0
290
【試作】IoT x AIエージェント
happysamurai294
0
100
Jetpack Compose で挑む新聞紙面UI ─ 複合ジェスチャー・ポリゴン記事領域・適応的ページ構成という3つの壁/droidkaigi2026
nikkei_engineer_recruiting
0
190
Redmine 7.0で私が開発した新機能の狙いと背景
vividtone
1
100
『止めない』を設計する — 制約の中で、事業の根幹を支える判断
hiroyaterui
0
160
ブラウザアプリの継続的パフォーマンスモニタリング (序) / Continuous Browser Application Performance Monitoring; Act 1
moznion
0
110
#jawssonic2026 あの時代が悪かった ~動かなかったSageMakerと共に迎えたイベント当日~
ktkn1129
0
130
振り返りこそエンジニアの本領
negima
0
260
リージョンの壁を越える、 ちょっと変わったAWSサービスの話
falken
PRO
0
210
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
640
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
AI: The stuff that nobody shows you
jnunemaker
PRO
9
970
The Language of Interfaces
destraynor
162
27k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Navigating Weather and Climate Data
rabernat
0
510
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
The Cost Of JavaScript in 2023
addyosmani
55
10k
Transcript
Code Dependencies & Composer Tom J Nowell, WC Sheffield @tarendai
tomjn.com
I’m Tom I work for Code For The People
This talk is about managing code frameworks, shared code, dependencies,
things don’t have to be painful
Theme/Plugin Frameworks are born fully formed
Things have to be wedged into frameworks
We want themes and plugins to be fast and light
Consolidate and Grab Only What You Need
Modularise Things
These are our dependencies
Frameworks include everything from the get go
We need something like ordering off a menu
Enter Composer
Composer describes a package, and what it needs to run
{ “name”: “icit/wp-less”, “require”: { "php": ">=5.2.4", "leafo/lessphp": "0.4.0" }
}
Installing Composer https://getcomposer.org/download/ ( Already installed with vvv )
To install dependencies > composer install
None
To update dependencies > composer update
Dependencies get put in a vendor/ folder An autoloader is
provided so there are no require/includes
Packagist The PHP world has a headstart on us
For packages not on Packagist { "repositories": [ { "type":
"git", "url": "https://github.com/leafo/lessphp.git" } ], ...etc... }
Questions? Tom J Nowell tomjn.com @tarendai