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
phpconkansai_phpstorm
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
ryo terai
July 14, 2018
Programming
800
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
phpconkansai_phpstorm
PHPカンファレンス関西2018 PhpStormで始めるテスト環境
ryo terai
July 14, 2018
More Decks by ryo terai
See All by ryo terai
WordCamp Tokyo 2108 PHPフレームワークから学ぶWordPress運用改善
bimihoujyun
0
280
Other Decks in Programming
See All in Programming
AI時代の仕事技芸論 — ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ
kuranuki
1
660
ADKを使って簡単にAIエージェントを作ってみよう
k1mu21
0
250
net-httpのHTTP/2対応について
naruse
0
470
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
3
670
さぁV100、メモリをお食べ・・・
nilpe
0
140
Semantic Version 単位で戦略を柔軟に変えて、パッケージアップデートを自動化する
daitasu
0
210
Contextとはなにか
chiroruxx
0
280
ローカルLLMを使ってB2Bサービスを作っていての学び
yaotti
0
160
Why Laravel apps break—Mastering the fundamentals to keep them maintainable
kentaroutakeda
1
350
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
240
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
560
LLM Plugin for Node-REDの利用方法と開発について
404background
0
170
Featured
See All Featured
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
The Curse of the Amulet
leimatthew05
1
13k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
370
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
エンジニアに許された特別な時間の終わり
watany
107
250k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
200
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
The Spectacular Lies of Maps
axbom
PRO
1
800
First, design no harm
axbom
PRO
2
1.2k
Building Applications with DynamoDB
mza
96
7.1k
Transcript
PHPStormで始めるテスト環境
PhpStormで始めるテスト環境
PhpStormで始めるテスト環境 デバッグ環境とPHPUnitの実行環境を整える
自 己 紹 介 @BiMihoujyun 最近もっぱらWordPress Prime Strategy 寺井 諒
None
A g e n d a PhpStorm と Docker (6分)
環境構築(10分) ステップ実行(6分) 最後に(2分)
アジェンダ? PHPUnitのテストケースとかの詳細はやりません。 PhpStorm使いはじめ、興味あり、機能をもっと使いたい
PhpStormとは
break pointでvar_dump()とさよなら
PhpStormとは 現行Versionは2018.1 JetBrains製の統合開発環境(IDE) PHPのコードを書く上でのアシスト機能が強烈
PhpStormとは 英語はちょっと・・・
PhpStormとは 日本語化できます!
PhpStormとは 試しに日本語してみましたが、結構違和感なく使えます
PhpStormとは ただ万能ではない
PhpStormとは
PhpStormとは 本来はconfigです・・・
PhpStormとは jetbrains製 youtrackとも連携可能 最近日本語化
?
Dockerとは
Dockerとは コンテナ仮想化ツール 起動が速く占有サイズが小さい
Dockerとは コンテナ型 とは? コンテナ型だとOSをホスト依存にするのでその分 起動速度の高速化やサイズの縮小に繋がる
Dockerとは いつからかログインしないと ダウンロード出来ないように
PhpStormとDocker でテスト環境を構築する
テスト環境を構築する 実機で
?
break pointでvar_dump() とさよなら debug()やdd()もね
break pointでvar_dump()とさよなら コメントアウトし忘れ 大量のvar_dump()
break pointでvar_dump()とさよなら break pointの位置を変える
break pointでvar_dump()とさよなら 少し不健康になりました
break pointでvar_dump()とさよなら 条件式も指定可能
break pointでvar_dump()とさよなら 条件式も指定可能
?
最後に
最後に PHPエンジニアを募集しています。(東京) WordPressの保守運用がメインですが 圧倒的にPHPに精通している人が少ないです タスケテ!!
ご静聴ありがとうございました 参考にさせていただいた記事 https://blog.shin1x1.com/entry/setup-test-and-debug-on-phpstorm-and-docker-for-mac https://qiita.com/kunit/items/52518cb1460d3deb6034 デモで使ったコード https://github.com/BiMihoujyun/phpconkansai2018_phpstorm