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
about Laravel 5.3
Search
localdisk
September 12, 2016
Technology
1
940
about Laravel 5.3
Laravel Meetup Vol.8 で話したスライドです。
localdisk
September 12, 2016
Tweet
Share
More Decks by localdisk
See All by localdisk
Laravelにおける後悔しないためのアプリケーション設計
localdisk
8
5.8k
Laravel の効率的な学び方
localdisk
9
3.2k
逆引きLaravel
localdisk
7
13k
Other Decks in Technology
See All in Technology
【TiDB GAME DAY 2025】Shadowverse: Worlds Beyond にみる TiDB 活用術
cygames
0
840
実践! AIエージェント導入記
1mono2prod
0
140
UIテスト自動化サポート- Testbed for XCUIAutomation practice
notoroid
0
110
新卒3年目の後悔〜機械学習モデルジョブの運用を頑張った話〜
kameitomohiro
0
370
BigQuery Remote FunctionでLooker Studioをインタラクティブ化
cuebic9bic
2
220
Amazon ECS & AWS Fargate 運用アーキテクチャ2025 / Amazon ECS and AWS Fargate Ops Architecture 2025
iselegant
13
4.3k
Welcome to the LLM Club
koic
0
130
Кто отправит outbox? Валентин Удальцов, автор канала Пых
lamodatech
0
270
初めてのAzure FunctionsをClaude Codeで作ってみた / My first Azure Functions using Claude Code
hideakiaoyagi
1
180
Microsoft Build 2025 技術/製品動向 for Microsoft Startup Tech Community
torumakabe
1
200
讓測試不再 BB! 從 BDD 到 CI/CD, 不靠人力也能 MVP
line_developers_tw
PRO
0
1.1k
Amazon Bedrockで実現する 新たな学習体験
kzkmaeda
1
390
Featured
See All Featured
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
700
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
4
200
Fireside Chat
paigeccino
37
3.5k
Docker and Python
trallard
44
3.4k
Build The Right Thing And Hit Your Dates
maggiecrowley
36
2.8k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.3k
Producing Creativity
orderedlist
PRO
346
40k
Done Done
chrislema
184
16k
Transcript
about Laravel 5.3 Laravel Meetup Vol.8 @localdisk
ࣗݾհ দඌେ ·͓ͭ·͞Δ EEE ΤϯδχΞ Πϊϕʔλʔδϟύϯॴଐ ΤϯδχΞɾσβ ΠφɾσΟϨΫλΛืूத ධൃചத
@localdisk
• New Feature5.3 • SimplePagination • Notification • Upgrade •
Auth • MySQL strict Mode • Upgrade͖͔͢? Agenda
Simple Pagination New Feature 5.3
5.3ҎલPresenterΛఆٛ͢Δඞཁ͕͋ͬͨ Pagination customize is
// Blade͕ࢦఆͰ͖ΔΑ͏ʹͳͬͨʂ {{ $users->links(‘pagination::bootstrap-4’) }} ΧελϚΠζ php artisan vendor:publish --tag=laravel-pagination
• bootstrap-4.blade.php • default.blade.php • simple-bootstrap-4.blade.php • simple-default.blade.php Pagination customize is
• $paginator • Illuminate\Pagination\Paginator • hasPages - ϖʔδ͕͋Δ͔? • onFirstPage
- ࠷ॳͷϖʔδ • previousPageUrl - લͷϖʔδ • nextPageUrl - ࣍ͷϖʔδ • hasMorePages - ࣍ͷϖʔδ͕͋Δ͔ Pagination Ͱ͏ϝιου
• $elements • LengthAwarePaginatorͷΈ • paginateϝιουLengthAwarePaginator • simplePaginatePaginator • [ϖʔδ൪߸
=> URL] ͷ array PaginationͷϦϯΫͰ༻͞ΕΔม
Notification New Feature 5.3
• ௨Ϋϥε • ࠓ·ͰEvent࡞ͬͯΞϨίϨؤு͍ͬͯͨͷ͕ ਵָʹͳΔ • Ϣʔβʔ͕ొ͞Εͨ • Ϣʔβʔ͕Λങͬͨ •
͓͍߹Θ͕ͤ͋ͬͨ • Notification
• ඪ४Ͱ༻ҙ͞Ε͍ͯΔ௨ • Mail • Database • SMS • Slack
• Laravel Notification Channels • http://laravel-notification-channels.com/ Notification
• ௨ΫϥεΛ࡞͢Δ(make:notification) • ௨ରͷΫϥεʹ Notifiable traitΛuse͢Δ class User { use
Notifiable; } $user->notify(new UserRegisterd); • EventExceptionHandlerͱซ༻͢Δ Notification
Upgradeʹ͍ͭͯ Upgrade 5.3
• ݁ߏมΘͬͯΔ • Route • logout͕POSTʹͳͬͨΓ • 5.3ҎલͷAuthΛͬͯΔ߹मਖ਼͕ඞཁ • Route::get('/logout',
‘Auth\LoginController@logout'); • ύεϫʔυϦηοτʹNotification͕༻͞Ε ͯͨΓ • https://laravel.com/docs/5.3/upgrade Auth
• false -> true • ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,N O_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DI VISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_EN GINE_SUBSTITUTION
• ࡶͳSQLॻ͍ͯΔͱͻͲ͍ʹ͍͋ͦ͏ MySQL Strict Mode
• ࣮ͦΜͳʹେม͡Όͳ͍ • 5.3ͷ৽ػೳ͕͍͍ͨ or 5.2ΛͬͯΔͷͰ ͋Ε͓ͬͯ͘ͷ͕Φεεϝ • 5.1ͬͯΔਓ͓ΈͰ Upgrade͖͔͢?
• http://tech.innovator.jp.net/entry/ 2016/08/17/115629 • http://tech.innovator.jp.net/entry/ 2016/08/02/111614 ࠓͷ༰େମϒϩάʹॻ͍ͯ·͢
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ