Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
PhpStormでLaravelでの開発を楽に
Search
takamichi
February 26, 2016
Programming
300
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PhpStormでLaravelでの開発を楽に
2/26(金) Laravel もくもく会 in 大阪 #1 LT発表分
https://gist.github.com/takamichi/72e7707169ed9b90a5dd
takamichi
February 26, 2016
Transcript
12 slides
2/26(ۚ) Laravel ͘͘ձ in େࡕ #1 PhpStormͰLaravelͰͷ։ൃΛָʹ Takamichi Urata (@takamichi_u)
Laravel 5 IDE Helper Generator h"ps:/ /github.com/barryvdh/laravel-ide-helper ΄΅ඞधɻIDEͷਪଌީิग़͠Λॿ͚ͯ͘ΕΔ(ϑΝΠϧੜ͠ ͯ͘ΕΔ)ɻ #
ύοέʔδՃ $ composer require --dev "barryvdh/laravel-ide-helper" --devΛ͚ͭͯ։ൃڥͷΈʹՃɻ
AppServiceProvider IdeHelperServiceProvider։ൃڥʹͷΈଘࡏ͢ΔͷͰɺ ຊ൪ڥ(--no-dev)ͰΤϥʔʹͳΔͷΛ͙ɻ public function register() { if ($this->app->environment() ===
'local') { // APP_ENV=localͷͱ͖ͷΈ༗ޮԽ $this->app->register('Barryvdh\LaravelIdeHelper\IdeHelperServiceProvider'); } }
composer.json composer updateͨ͠ͱ͖ɺউखʹੜͯ͘͠ΕΔΑ͏ʹɻ { "pre-update-cmd": [ "php artisan clear-compiled" ],
"post-update-cmd": [ "[ ! $APP_ENV = \"local\" ] || php artisan ide-helper:generate", // <= ADD "[ ! $APP_ENV = \"local\" ] || php artisan ide-helper:meta", // <= ADD "php artisan optimize" ] } _ide_helper.php, .phpstorm.meta.phpͷ.gitignoreͷ ՃΛΕͣʹɻ
Xdebug
Homestead Homestead v0.4.1͔ΒXdebugؚ͕·ΕΔΑ͏ʹ(෮׆)ɻ ͨͩ༗ޮԽ͞Ε͍ͯͳ͍ͷͰઃఆ͕ඞཁɻ (ࠓճPer Project Installa/onͰΓ·ͨ͠)ɻ Homestead.yml # த͕͜Ζ͜ΖมΘΔͷͰɺboxόʔδϣϯݻఆͨ͠ํ͕ྑͦ͞͏ɻ
provider: virtualbox version: '0.4.1' # <= ADD
a"er.sh XdebugΛ༗ޮԽ͢ΔॲཧΛɺHomesteadॳճىಈ࣌ʹΒͤΔɻ #!/usr/bin/env bash sed -i "s/max_execution_time = .*/max_execution_time =
300/" /etc/php/7.0/fpm/php.ini cat >> /etc/php/7.0/fpm/conf.d/20-xdebug.ini << EOF xdebug.remote_enable = 1 xdebug.remote_autostart = 1 #xdebug.remote_connect_back = 1 xdebug.remote_host = 10.0.2.2 xdebug.remote_port = 9000 xdebug.max_nesting_level = 512 xdebug.show_local_vars = 1 EOF service php7.0-fpm restart service nginx restart
PhpStorm ϑΥϧμͷϚοϐϯά
None
None
None
demo
Other Decks in Programming
See All in Programming
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
120
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
SODA - FACT BOOK(JP)
sodainc
1
40k
Compiling Your Language to WasmGC & Friends
tanishiking
0
850
疎結合とは何か?ソフトウェア設計における結合バランスについて考える #phpcon_niigata
kajitack
2
440
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
320
AIエージェントの「テストは通るのに本番で壊れる」を減らす
shibuiwilliam
3
130
Skills Are the New npm [AAIF Bengaluru, Nov 2026]
shivamsaraswat
0
140
高速開発を止めずに 性能を上げる Flyleのシステム刷新と改善の歴史
azihsoyn
0
110
SODA - FACT BOOK(EN)
sodainc
1
310
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
6.4k
Beyond Chatbots: Agentic UI with Open Standards @W-JAX 2026, München
manfredsteyer
PRO
0
130
Featured
See All Featured
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
550
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
620
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
The Curse of the Amulet
leimatthew05
4
17k
Building Flexible Design Systems
yeseniaperezcruz
330
41k
WENDY [Excerpt]
tessaabrams
15
41k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
830
Discover your Explorer Soul
emna__ayadi
2
1.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
Automating Front-end Workflow
addyosmani
1370
210k