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
PHPKonf 2016
Search
Arda Kılıçdağı
May 21, 2016
Programming
2
170
PHPKonf 2016
"Laravel Tips and Tricks" presentation from PHPKonf 2016.
Arda Kılıçdağı
May 21, 2016
Tweet
Share
More Decks by Arda Kılıçdağı
See All by Arda Kılıçdağı
Profesyönel İş Dünyasında Yazılım Üretimi ve Raspberry Pi Üzerine Düşünceler
ardakilic
0
70
Other Decks in Programming
See All in Programming
HTTP compression in PHP and Symfony apps
dunglas
2
1.7k
複雑な仕様に立ち向かうアーキテクチャ
myohei
0
170
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
fs2-io を試してたらバグを見つけて直した話
chencmd
0
230
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
120
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
2
460
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
770
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
340
useSyncExternalStoreを使いまくる
ssssota
6
1k
ドメインイベント増えすぎ問題
h0r15h0
1
270
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
4
1.1k
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
370
Featured
See All Featured
A Tale of Four Properties
chriscoyier
157
23k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
The Language of Interfaces
destraynor
154
24k
Gamification - CAS2011
davidbonilla
80
5.1k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.2k
Six Lessons from altMBA
skipperchong
27
3.5k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Into the Great Unknown - MozCon
thekraken
33
1.5k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3k
Transcript
LARAVEL TIPS AND TRICKS ARDA KILIÇDAĞI Twitter: @ardadev GitHub: Ardakilic
LinkedIn: ardakilicdagi
ARDA KILIÇDAĞI 2
ARDA KILIÇDAĞI bit.ly/laravel-design-patterns bit.ly/laravel-kitabi bit.ly/raspberry-pi-kitabi 3
ELOQUENT 4
ELOQUENT WHITELIST / BLACKLIST 5
ELOQUENT CONNECTING TO DIFFERENT DB DRIVES 6
ELOQUENT CONNECTING TO DIFFERENT DB DRIVES 7
ELOQUENT CHANGING CONNECTION DYNAMICALLY 8
ELOQUENT TRAITS AND GENERALISED RANDOM() USAGE 9
ELOQUENT TRAITS AND GENERALISED RANDOM() USAGE 10
ELOQUENT TRAITS AND GENERALISED RANDOM() USAGE 11 http://bit.ly/laravel-random-trait
ELOQUENT EAGER LOADING 12
ELOQUENT LAZY LOADING AND HYDRATORS 13
ELOQUENT LAZY LOADING VE HYDRATOR 14
ELOQUENT SETTING ALIASES TO RELATIONS 15
ELOQUENT SETTING ALIASES TO RELATIONS 16
ELOQUENT RECURSIVE RELATIONS 17
ELOQUENT RECURSIVE RELATIONS 18
ELOQUENT MODEL EVENTS AND ADDING VALUES DYNAMICALLY 19
ELOQUENT MODEL EVENTS AND ADDING VALUES DYNAMICALLY 20
ELOQUENT CONDITIONAL RELATIONS, SORTING AND FILTERING 21
ELOQUENT DATE BASED FILTERINGS 22
ELOQUENT ACCESSORS 23
ELOQUENT FILTERING OVER RELATIONS 24
ELOQUENT NESTED RELATION FILTERING 25
COLLECTIONS 26
COLLECTIONS CREATING MANUALLY, APPENDING, FILTERING 27
COLLECTIONS PREPENDING, AND CREATING A COLLECTION FOR DROPDOWN(S) 28
COLLECTIONS KEYS OF THE COLLECTIONS 29
MISC 30
MISC ROUTE GROUPS 31
MISC SELF-REFRESHING CACHE 32
MISC WHOOPS WITH LARAVEL 5.X 33 http://bit.ly/laravel-5-whoops
MISC CALLING DIFFERENT .ENV FILES CONDITIONALLY 34 (Don’t do it)
MISC VIEW COMPOSERS, CENTRALISED META TAG MANAGEMENT FOR SEO 35
http://bit.ly/laravel-view-composer-seo
MISC VIEW COMPOSERS, CENTRALISED META TAG MANAGEMENT FOR SEO 36
http://bit.ly/laravel-view-composer-seo
MISC VIEW COMPOSERS, CENTRALISED META TAG MANAGEMENT FOR SEO 37
http://bit.ly/laravel-view-composer-seo
MISC VIEW COMPOSERS, CENTRALISED META TAG MANAGEMENT FOR SEO 38
http://bit.ly/laravel-view-composer-seo
QUESTIONS? 39 https://github.com/Ardakilic/phpkonf-2016
THANKS! 40 twitter.com/ardadev github.com/ardakilic linkedin.com/in/ardakilicdagi