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
Laravel Boost 超入門
Search
Arlo
August 27, 2025
Programming
1.5k
5
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Laravel Boost 超入門
2025年8月27日開催の第178回PHP勉強会@東京でのLT登壇資料です。
Laravel Boostの特徴・導入方法・比較検証・今後の展望についてまとめています。
Arlo
August 27, 2025
Other Decks in Programming
See All in Programming
Hono + Inertia + React で LP を構築した話
oukayuka
2
190
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.9k
AI時代に学ぶ 好きなルール 嫌いなルール Linter編
shorty5121
0
700
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
350
自分的「カンファレンスの楽しみ方」
syumai
0
160
仕様駆動開発の消費期限
watany
20
9.2k
リアルな遅延を測る仕様
kota_yata
1
130
関東Kaggler会_NVIDIA_Nemotron_コンペ_振り返り
rick_ds
0
770
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
480
ALB ログから Trace を気合で繋げる技術
fohte
7
840
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
260
高専キャリア LT 発表内容
crysta1221
6
5.3k
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
460
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
410
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
How to make the Groovebox
asonas
2
2.4k
How STYLIGHT went responsive
nonsquared
100
6.3k
HDC tutorial
michielstock
2
830
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Rails Girls Zürich Keynote
gr2m
96
14k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
69
64k
Transcript
Laravel Boost 超入門 第178回 PHP勉強会@東京 2025.08.27 吉川 昂杜 @fire_arlo
吉川 昂杜(よしかわ あきと) • 24歳 Webエンジニア • Laravel歴 1年 /
Next.js歴 半年 • 写真館ポータルサイト開発 • 興味:個人開発、AI活用 X: @fire_arlo Zenn: zenn.dev/fire_arlo GitHub: github.com/arlo-engineer 2
アジェンダ 1. Laravel Boostの概要 2. 導入方法 3.
使用感(タスク管理ツール開発過程での比較) 4. まとめと今後の展望 3
Laravel Boostとは 4 https://boost.laravel.com/ Laravel Boostは、AIが高品質でLaravel専用のコードを生成 するために必要な重要なコンテキストと構造を提供すること で、AI支援開発を加速させます。 ※ 2025/08/16にパブリックベータ版がリリースされました。
※ 2025/08/27時点の情報です。
Laravel Boostの3つの特徴 5 特徴① MCPサーバー (15+ツール) DBスキーマやログの 読み取り等、 リアルタイムでアプリ情報をAI に提供
特徴② 17,000+のベクトル化ド キュメント Laravel本体・主要パッケージ のバージョン固有の正確な情 報をAIが参照 特徴③ AIガイドラインの 自動生成 プロジェクト規約をAIに 教育し、チーム固有の ルールにも対応
特徴①: MCPサーバーが提供する多様なツール AIエージェントがアプリケーションの「今」の 状態を直接確認できる • 15以上のツールを提供 •
例えば、Database Schemaツールを使 えば、AIが実際のテーブル構造を確認でき る。 6 https://github.com/laravel/boost
特徴③: AIガイドラインの自動生成 7 https://github.com/laravel/boost === boost rules === ##
Laravel Boost - Laravel Boost is an MCP server that comes with powerful tools designed specifically for this application. Use them. ## Artisan - Use the `list-artisan-commands` tool when you need to call an Artisan command … CLAUDE.md → 導入時に自動で生成される
導入はたった 2コマンド composer require laravel/boost --dev php artisan boost:install Claude
Code × Docker環境の場合(追加設定) claude mcp add --scope project laravel-boost \ -- docker compose exec -T < コンテナ名> php artisan boost:mcp 8
タスク管理ツール開発で比較検証 Laravel Boost なし ❌ Laravel Boost あり ✅
9 https://github.com/arlo-engineer/laravel-boost-demo 全く同じプロンプトでバイブコーディング
違い①: 命名規則 ❌ 複数形のメソッド名 public function notificationSettings(): HasOne ✅ 単数系のメソッド名
public function notificationSetting(): HasOne → Laravel公式: 1対1リレーションの場合は単数形が推奨されている 10 https://laravel.com/docs/12.x/eloquent-relationships#one-to-one
違い②: Laravelの新しい書き方 ❌ $castsプロパティを使用 protected $casts = ['due_date' =>
'date']; ✅ castsメソッドを使用 ← Laravel 11から導入 protected function casts(): array { return ['due_date' => 'date']; } 11 https://github.com/reliese/laravel/issues/296
違い③: エラー解決のアプローチ Laravel Boost なし → Laravel Boost あり
❌ コードのみから推測 ✅ ログ + DB状態確認 ❌ 時間がかかる ✅ 迅速な解決 12
まとめと今後の展望 📊 コード品質の一貫性 🔍 効率的なデバッグ → 開発速度向上
📚 学習ツールとしての活用 🚀 最新情報への自動対応 13
ご清聴ありがとうございました 吉川 昂杜 @fire_arlo 14
おまけ: SerenaとLaravel Boostの違い 15 https://zenn.dev/aun_phonogram/articles/a602649ff478cf