Laravel ドキュメント+
Laravel ドキュメント+
Laravel5の公式ドキュメントを翻訳してお届けします
本書について
公式ドキュメントを日本語に翻訳しています。ドキュメントの修正に合わせ一定期間ごとに翻訳し、リリースしています。ただいま、バージョン5.1LTSを提供中です。
同じ内容はWebページとしても、無料公開しています。(http://readouble.com/laravel)
今回の当電子書籍のアップデート期間はLaravel4の公式ドキュメントのメンテナンス期間とさせて頂きます。(追記:Laravelのバージョンの付け方が変更されたため、2016年5月までのアップデートとさせていただきます。)(追記:アップデート期間は終了しました。)
本書の特徴- アップデートのたびにPDFなどに変換する手間が省けます。手間を考えるとかなり安い値段に設定しています。
- 値段は情報自身とそのアップデートの値段と考えてください。出版しっぱなしではなく、新しいものへと更新し続けます。
- 日本語Web版のバックアップとしてもご用意ください。
- 最新の日本語版がいち早く届きます。
会社などでご利用くださる場合は、ご利用人数分ご購入ください。(まあ、これはLeanpub社の建前です。私の感覚では、例えば本当の書籍を会社で一冊購入する場合、回し読みするなら同時に読んでいる人は一名です。しかし電子書籍は簡単にコピーできてしまいますので、同時に読まれる方は増えると思います。ですからそこら辺は適当に均してもらい、「同時に読む可能性はこのくらいかな」という冊数お買い上げ頂けば良いと思っておりますので、よろしくお願いします。)
バルク購入Leanpub社のシステムでは、大量購入に関するディスカウントなどのシステムは現在ありません。しかし販売している著作物は著者が自由に様々な形態で販売ができます。もし、学校などでまとめて購入いただける場合は、直接メールにて私、hirokws@gmail.comまでご連絡ください。
Table of Contents
-
- 日本語電子書籍版前書き
-
修正記録
- バージョン5.1
-
I 前章
-
1. リリースノート
- サポートポリシー
- Laravel 5.1.11
- Laravel 5.1.4
- Laravel 5.1
- Laravel 5.0
- Laravel 4.2
- Laravel 4.1
-
2. アップグレードガイド
- 5.1.11へのアップグレード
- 5.1.0へのアップグレード
- 5.0.16へのアップグレード
- 4.2から5.0へのアップグレード
- 4.1から4.2へのアップグレード
- 4.1.x以下から4.1.29へのアップグレード
- 4.1.25以下から、4.1.26へのアップグレード
- 4.0から4.1へアップグレード
-
3. 貢献ガイド
- バグレポート
- コア開発の議論
- どのブランチ?
- セキュリティ脆弱性
- コーディングスタイル
-
1. リリースノート
-
II 準備
-
4. インストール
- インストール
- 設定
- メンテナンスモード
-
5. Laravel Homestead
- イントロダクション
- インストールと設定
- 使用方法
- Blackfireプロファイラー
-
4. インストール
-
III チュートリアル
-
6. 基本のタスクリスト
- イントロダクション
- インストール
- データベースの準備
- Routing
- レイアウトとビューの作成
- タスク追加
- タスク削除
-
7. 中級者向けタスクリスト
- イントロダクション
- インストール
- データベースの準備
- ルーティング
- レイアウトとビューの構築
- タスク追加
- 既存タスク表示
- タスク削除
-
6. 基本のタスクリスト
-
IV 基礎
-
8. HTTPルーティング
- 基本的なルーティング
- ルートパラメーター
- 名前付きルート
- ルートグループ
- CSRF保護
- モデル結合ルート
- 見せかけのフォームメソッド
- 404エラーのthrow
-
9. HTTPミドルウェア
- イントロダクション
- ミドルウェア定義
- ミドルウェア登録
- ミドルウェアパラメーター
- 終了処理ミドルウェア
-
10. HTTPコントローラー
- イントロダクション
- 基本のコントローラー
- コントローラーミドルウェア
- RESTフルリソースコントローラー
- 暗黙のコントローラー
- 依存注入とコントローラー
- ルートキャッシュ
-
11. HTTPリクエスト
- リクエストの取得
- 入力の取得
-
12. HTTPレスポンス
- 基本のレスポンス
- 他のレスポンスタイプ
- リダイレクト
- レスポンスマクロ
-
13. ビュー
- 基本的な使用法
- ビューコンポーサー
-
14. Bladeテンプレート
- イントロダクション
- テンプレートの継承
- データ表示
- 制御構文
- サービス注入
- Blade拡張
-
8. HTTPルーティング
-
V 構造
-
15. リクエストのライフサイクル
- イントロダクション
- 概論
- サービスプロバイダーの精査
-
16. アプリケーション構造
- イントロダクション
- ルートディレクトリ
- Appディレクトリー
- アプリケーションの名前空間付け
-
17. サービスプロバイダー
- イントロダクション
- サービスプロバイダーの記述
- プロバイダーの登録
- 遅延プロバイダー
-
18. サービスコンテナ
- イントロダクション
- 結合
- 依存解決
- コンテナイベント
-
19. 契約
- イントロダクション
- なぜ契約?
- 契約リファレンス
- 契約使用法
-
20. ファサード
- イントロダクション
- ファサードの使用
- ファサードクラス一覧
-
15. リクエストのライフサイクル
-
VI 銈点兗銉撱偣
-
21. 認証
- イントロダクション
- 認証クイックスタート
- 自前のユーザー認証
- ユーザーの継続ログイン
- HTTP基本認証
- パスワードリセット
- ソーシャル認証
- カスタム認証ドライバーの追加
-
22. 認可
- イントロダクション
- アビリティの定義
- アビリティーの確認
- ポリシー
- コントローラーの認可
-
23. Artisanコンソール
- イントロダクション
- コマンド記述
- コマンドI/O
- コマンド登録
- コードからのコマンド呼び出し
-
24. Laravelキャッシャー
- イントロダクション
- 購入
- StripeのWebフック処理
- 一回だけの課金
- インボイス
-
25. キャシュ
- 設定
- キャッシュの使用法
- カスタムキャッシュドライバーの追加
- キャッシュタグ
- キャッシュイベント
-
26. コレクション
- イントロダクション
- コレクション生成
- 利用可能なメソッド
- メソッド一覧
-
27. Laravel Elixir
- イントロダクション
- インストールと準備
- Elixirの実行
- スタイルシート操作
- スクリプト操作
- ファイルとディレクトリーのコピー
- バージョン付け/キャッシュ破壊
- BrowserSync
- 既存Gulpタスクの呼び出し
- Elixir拡張の定義
-
28. 暗号化
- 設定
- 基本的な使用法
-
29. エラーとログ
- イントロダクション
- 設定
- 例外ハンドラー
- HTTP例外
- ログ
-
30. イベント
- イントロダクション
- イベント/リスナー登録
- イベント定義
- リスナーの定義
- イベント発行
- ブロードキャストイベント
- イベント購読
-
31. ファイルシステム/クラウドストレージ
- イントロダクション
- 設定
- 基本的な使用法
- カスタムファイルシステム
-
32. ハッシュ
- イントロダクション
- 基本的な使用法
-
33. ヘルパー関数
- イントロダクション
- 使用可能な関数
- メソッド一覧
- 配列
- パス
- 文字列
- URL
- その他
-
34. 多言語化
- イントロダクション
- 基本的な使用法
- ベンダーの言語ファイルのオーバーライド
-
35. メール
- イントロダクション
- メール送信
- メールとローカル開発
-
36. パッケージ開発
- イントロダクション
- サービスプロバイダー
- ルーティング
- リソース
- 公開アセット
- ファイルグループの公開
-
37. ペジネーション
- イントロダクション
- 基本的な使用法
- ビューでの結果表示
- 結果のJSON変換
-
38. キュー
- イントロダクション
- ジョブクラスを書く
- ジョブのキュー投入
- キューリスナーの実行
- 失敗したジョブの処理
-
39. Redis
- イントロダクション
- 基本的な使用法
- 発行/購読
-
40. セッション
- イントロダクション
- 基本的な使用法
- カスタムセッションドライバーの追加
-
41. Envoyタスクランナー
- イントロダクション
- タスク記述
- タスク実行
- 通知
-
42. タスクスケジュール
- イントロダクション
- スケジュール定義
- タスク出力
- タスクフック
-
43. テスト
- イントロダクション
- アプリケーションのテスト
- データベースとの関わり
- モック
-
44. バリデーション
- イントロダクション
- クイックスタート
- 他のバリデーションアプローチ
- エラーメッセージの操作
- 使用可能なバリデーションルール
- 条件付きでルールを追加する
- カスタムバリデーションルール
-
21. 認証
-
VII データベース
-
45. データベース:利用開始
- イントロダクション
- SQLクエリーの実行
- データベーストランザクション
- 複数接続の使用
-
46. データベース:クエリービルダー
- イントロダクション
- 結果の取得
- SELECT
- JOIN
- UNION
- WHERE節
- 高度なWhere節
- 順序、グループ分け、制限、オフセット
- INSERT
- UPDATE
- DELETE
- 悲観的ロック
-
47. データベース:マイグレーション
- イントロダクション
- マイグレーション生成
- マイグレーション構造
- マイグレーション実行
- マイグレーション記述
-
48. データベース:シーディング
- イントロダクション
- シーダークラス定義
- シーダーの実行
-
45. データベース:利用開始
-
VIII Eloquent ORM
-
49. Eloquent:利用の開始
- イントロダクション
- モデル定義
- 複数モデルの取得
- 1モデル/集計の取得
- モデルの追加と更新
- モデル削除
- クエリースコープ
- イベント
-
50. Eloquent:リレーション
- イントロダクション
- リレーションの定義
- リレーションのクエリー
- 関係したモデルの挿入
-
51. Eloquent:コレクション
- イントロダクション
- 使用できるメソッド
- カスタムコレクション
-
52. Eloquent:ミューテター
- イントロダクション
- アクセサーとミューテター
- 日付ミューテター
- 属性キャスト
-
53. Eloquent:シリアライズ
- イントロダクション
- 基本的な使用法
- JSONに含めない属性
- JSONへ値を追加
-
追補:Mockery
- モックオブジェクト
- 動作要件
- インストール
- 0.8.*へのアップデート
- シンプルなサンプル
- PHPUnit統合
- クイックリファレンス
- 期待値条件の宣言
- 引数のバリデーション
- パーシャルモックを作成する
- モックオブジェクトの検出
- デフォルトモック期待値条件
- パブリックなプロパティーのモック
- public staticメソッドのモック
- インスタンス化時にモックオブジェクトを生成する(インスタンス化モック)
- メソッドの参照渡し引数の動作を妨げる
- デメテルチェーンと流れるようなインターフェイス
- Mockery例外
- モックオブジェクトの記録
- Finalクラス/メソッドの取り扱い
- Mockeryグローバル設定
- 予約メソッド名
- PHPマジックメソッド
- なるほど!(了解事項)
- クイックサンプル
- 追記
-
49. Eloquent:利用の開始
Authors have earned$9,882,857writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.
Learn more about writing on Leanpub
Leanpubは無条件かつノーリスクで100%の満足を保証します
Leanpubでお買い上げいただいた書籍は、ご購入後45日以内であれば全額返金いたします。払い戻しはわずか2クリックで完了します。払い戻し処理は手作業で行うため、完了まで数日かかる場合があります。詳しくは利用規約をご覧ください。
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Top Books
C++ Best Practices
Jason TurnerLevel up your C++, get the tools working for you, eliminate common problems, and move on to more exciting things!
Functional Design and Architecture
Alexander GraninSoftware Design in Functional Programming, Design Patterns and Practices, Methodologies and Application Architectures. How to build real software in Haskell with less efforts and low risks. The first complete source of knowledge.
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
R Programming for Data Science
Roger D. PengThis book brings the fundamentals of R programming to you, using the same material developed as part of the industry-leading Johns Hopkins Data Science Specialization. The skills taught in this book will lay the foundation for you to begin your journey learning data science. Printed copies of this book are available through Lulu.
C++20
Rainer GrimmC++20 is the next big C++ standard after C++11. As C++11 did it, C++20 changes the way we program modern C++. This change is, in particular, due to the big four of C++20: ranges, coroutines, concepts, and modules.
I am a Software Engineer and I am in Charge
Alexis Monville and Michael DoyleI am a Software Engineer and I am in Charge is a real-world, practical book that helps you increase your impact and satisfaction at work no matter who you work with.
In the book, we will follow Sandrine, a fictional character who learns to think in a new way enabling her to take a different course of action.
Invest In Digital Health - The Medical Futurist's Guide
Dr. Bertalan MeskoArtificial Intelligence and Digital Health are booming. In this book, we explain why now it's a good time to invest in Digital Health and give recommendations on where to invest by looking at the top 24 technological trends we find the most promising.
Atomic Kotlin
Bruce Eckel and Svetlana IsakovaFor both beginning and experienced programmers! From the author of the multi-award-winning Thinking in C++ and Thinking in Java together with a member of the Kotlin language team comes a book that breaks the concepts into small, easy-to-digest "atoms," along with exercises supported by hints and solutions directly inside IntelliJ IDEA!
The Hundred-Page Machine Learning Book
Andriy BurkovEverything you really need to know in Machine Learning in a hundred pages.
Mastering STM32
Carmine NovielloWith more than 600 microcontrollers, STM32 is probably the most complete ARM Cortex-M platform on the market. This book aims to be the first guide around that introduces the reader to this exciting MCU portfolio from ST Microelectronics and its official CubeHAL.
Top Bundles
- #1
Software Architecture for Developers: Volumes 1 & 2 - Technical leadership and communication
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
The Future of Digital Health
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy and how technology giants such as Amazon or Google want to conquer... - #3
Cisco CCNA 200-301 Complet
4 Books
Ce lot comprend les quatre volumes du guide préparation à l'examen de certification Cisco CCNA 200-301. - #4
CCDE Practical Studies (All labs)
3 Books
CCDE lab - #5
"The C++ Standard Library" and "Concurrency with Modern C++"
2 Books
Get my books "The C++ Standard Library" and "Concurrency with Modern C++" in a bundle. The first book gives you the details you should know about the C++ standard library; the second one dives deeper into concurrency with modern C++. In sum, you get more than 600 pages full of modern C++ and about 250 source files presenting the standard library... - #6
Modern Management Made Easy
3 Books
Read all three Modern Management Made Easy books. Learn to manage yourself, lead and serve others, and lead the organization. - #7
Programming with Ease
3 Books
Alle drei Bände der Serie Programming with Ease in einem Paket. Darin findest du alles, was ich dir zu den wichtigsten Phasen der Softwareentwicklung im Hinblick auf Clean Code Development für langfristig hohe Produktivität sagen kann.Im Band Slicing findest du die Anforderungsanalyse im Rahmen eines iterativ-inkrementellen Vorgehensmodells aus... - #8
Vagrant Ansible
2 Books
Unveil the power of Ansible and Vagrant with this bundle at a special price. You'll have everything you need to get started with Vagrant - learn the basics and how to create your virtual development environments, using Ansible as provisioner! About Vagrant Cookbook Vagrant Cookbook is a complete guide to get started with Vagrant and create your... - #9
Mastering Containers
2 Books
Docker and Kubernetes are taking the world by storm! These books will get you up-to-speed fast! Docker Deep Dive is over 400 pages long, and covers all objectives on the Docker Certified Associate exam.The Kubernetes Book includes everything you need to get up and running with Kubernetes! - #10
Growing Agile: The Complete Coach's Guide
7 Books
Growing Agile: Coach's Guide Series This bundle provides a collection of training and workshop plans for a variety of agile topics. The series is aimed at agile coaches, trainers and ScrumMasters who often find themselves needing to help teams understand agile concepts. Each book in the series provides the plans, slides, handouts and activity...