$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Last Month in PHP - February 2017
Search
John Kary
February 01, 2017
Programming
1
180
Last Month in PHP - February 2017
Kansas City PHP User Group
February 1, 2017
John Kary
February 01, 2017
Tweet
Share
More Decks by John Kary
See All by John Kary
Last Month in PHP - March 2019
johnkary
0
140
Last Month in PHP - September 2018
johnkary
0
82
Last Month in PHP - July 2018
johnkary
1
210
Last Month in PHP - June 2018
johnkary
0
130
Last Month in PHP - November 2017
johnkary
0
87
Last Month in PHP - June 2017
johnkary
0
110
Functions in PHP: Part 1 - Writing Your Own Functions
johnkary
0
270
Keeping Software Soft
johnkary
0
180
Scratch: An On-Ramp to Programming
johnkary
0
170
Other Decks in Programming
See All in Programming
大体よく分かるscala.collection.immutable.HashMap ~ Compressed Hash-Array Mapped Prefix-tree (CHAMP) ~
matsu_chara
2
220
【CA.ai #3】ワークフローから見直すAIエージェント — 必要な場面と“選ばない”判断
satoaoaka
0
260
UIデザインに役立つ 2025年の最新CSS / The Latest CSS for UI Design 2025
clockmaker
18
7.6k
Microservices rules: What good looks like
cer
PRO
0
1.5k
愛される翻訳の秘訣
kishikawakatsumi
3
330
ゲームの物理 剛体編
fadis
0
350
WebRTC、 綺麗に見るか滑らかに見るか
sublimer
1
190
Cap'n Webについて
yusukebe
0
140
複数人でのCLI/Infrastructure as Codeの暮らしを良くする
shmokmt
5
2.3k
Navigation 3: 적응형 UI를 위한 앱 탐색
fornewid
1
370
開発に寄りそう自動テストの実現
goyoki
2
1.2k
チームをチームにするEM
hitode909
0
350
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
1
660
Are puppies a ranking factor?
jonoalderson
0
2.3k
The Language of Interfaces
destraynor
162
25k
The SEO identity crisis: Don't let AI make you average
varn
0
32
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
190
Embracing the Ebb and Flow
colly
88
4.9k
Agile that works and the tools we love
rasmusluckow
331
21k
How to build a perfect <img>
jonoalderson
0
4.6k
WCS-LA-2024
lcolladotor
0
380
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.3k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
130
Transcript
Last Month in PHP February 1, 2017 Kansas City PHP
User Group John Kary @johnkary
Releases
5.6.30 7.0.15 7.1.1
Wordpress 4.7.1 Security Release
Wordpress 4.7.1 Security Release Upgrade NOW!
Drupal 8.2.5 Security Release
Drupal 8.2.5 Security Release Upgrade NOW!
Laravel 5.4 https://laravel.com/docs/5.4/releases
Laravel 5.4 https://laravel.com/docs/5.4/releases • Laravel Dusk
Laravel 5.4 https://laravel.com/docs/5.4/releases • Laravel Dusk • Higher-order Collection methods
Laravel 5.4 https://laravel.com/docs/5.4/releases • Laravel Dusk • Higher-order Collection methods
• Markdown in email templates
Laravel 5.4 https://laravel.com/docs/5.4/releases • Laravel Dusk • Higher-order Collection methods
• Markdown in email templates • Components and Slots in Blade templates
Laravel 5.4 https://laravel.com/docs/5.4/releases • Laravel Dusk • Higher-order Collection methods
• Markdown in email templates • Components and Slots in Blade templates • Job-level retry and timeout
Laravel Dusk class ExampleTest extends DuskTestCase { public function testBasicExample()
{ $user = factory(User::class)->create([ 'email' => '
[email protected]
', ]); $this->browse(function ($browser) use ($user) { $browser->visit('/login') ->type('email', $user->email) ->type('password', 'secret') ->press('Login') ->assertPathIs('/home'); }); } }
Collection Higher Order Functions $users = User::where('group', 'Development')->get();
Collection Higher Order Functions $users = User::where('group', 'Development')->get(); // Without
Collections $total = 0; foreach ($users as $user) { $total += $user->votes; } echo $total;
Collection Higher Order Functions $users = User::where('group', 'Development')->get(); // Without
Collections $total = 0; foreach ($users as $user) { $total += $user->votes; } echo $total; // With Laravel Collection functions $users->map(function ($user) { return $user->votes; })->sum();
Collection Higher Order Functions $users = User::where('group', 'Development')->get(); // Without
Collections $total = 0; foreach ($users as $user) { $total += $user->votes; } echo $total; // With Laravel Collection functions $users->map(function ($user) { return $user->votes; })->sum(); // With higher-order collection functions echo $users->sum->votes; // 12
Xdebug 2.6 will only support PHP7
Conferences / Events
May 13-14, 2017 Wichita, KS Wichita State University Local http://kansaslinuxfest.org/
May 13-14, 2017 Wichita, KS Wichita State University Local http://kansaslinuxfest.org/
FREE
Mall of America - Minneapolis, MN March 17-18 https://2017.midwestphp.org Regional
Mall of America - Minneapolis, MN March 17-18 https://2017.midwestphp.org $225
Regional
Regional
$225 / 275 Regional
National https://events.drupal.org/baltimore2017
National $450 https://events.drupal.org/baltimore2017
https://tek.phparch.com/ National
https://tek.phparch.com/ $595 / 895 National
International https://www.codercruise.com/
International https://www.codercruise.com/ $225
International https://www.codercruise.com/ $225 PLUS! ~$1000
International https://www.codercruise.com/ $225 PLUS! ~$1000
National
National SOLD OUT
https://laracon.eu/2017/ International
$375 https://laracon.eu/2017/ International
http://live.symfony.com/ National
http://live.symfony.com/ National $249
fin http://johnkary.net/talks @johnkary