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
55
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
19
johnkary
0
24
johnkary
1
55
johnkary
0
35
johnkary
0
34
johnkary
0
34
johnkary
0
31
johnkary
0
62
johnkary
0
64
Other Decks in Programming
See All in Programming
s_uryu
0
250
yagitatsu
3
1.7k
yanagii
0
200
vixentael
0
100
mu2in
0
150
hollodotme
1
120
kubode
0
240
nbkouhou
0
1.1k
akatsukinewgrad
0
220
standfm
1
310
kyonmm
2
2.2k
junmikai
0
300
Featured
See All Featured
addyosmani
1347
190k
samanthasiow
56
6.3k
maltzj
500
36k
stephaniewalter
260
11k
zenorocha
296
40k
reverentgeek
168
7.2k
lara
172
9.5k
hursman
106
9.2k
jlugia
216
16k
danielanewman
1
480
scottboms
251
11k
keathley
18
660
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