Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up
for free
Last Month in PHP - February 2017
John Kary
February 01, 2017
Programming
1
59
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
johnkary
0
20
johnkary
0
25
johnkary
1
60
johnkary
0
36
johnkary
0
36
johnkary
0
36
johnkary
0
34
johnkary
0
63
johnkary
0
66
Other Decks in Programming
See All in Programming
kaonash
2
1.9k
n1215
1
490
hr01
1
4.4k
dnskimo
8
1.5k
kodetr
0
160
rukiadia
3
950
rgoswami
1
110
borkdude
1
190
progate
3
1.1k
hkusu
0
290
wafuwafu13
1
170
cc4966
1
110
Featured
See All Featured
jponch
103
5.1k
tammielis
237
23k
morganepeng
95
14k
chriscoyier
779
240k
sferik
613
55k
thoeni
4
670
robhawkes
53
2.9k
tanoku
86
8.6k
kneath
220
15k
chriscoyier
683
180k
rocio
155
11k
kneath
294
39k
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' => 'taylor@laravel.com', ]); $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