Kansas City PHP User Group February 1, 2017
Last Month in PHPFebruary 1, 2017 Kansas City PHP User GroupJohn Kary@johnkary
View Slide
Releases
5.6.307.0.157.1.1
Wordpress4.7.1Security Release
Wordpress4.7.1Security ReleaseUpgrade NOW!
Drupal8.2.5Security Release
Drupal8.2.5Security ReleaseUpgrade NOW!
Laravel 5.4https://laravel.com/docs/5.4/releases
Laravel 5.4https://laravel.com/docs/5.4/releases• Laravel Dusk
Laravel 5.4https://laravel.com/docs/5.4/releases• Laravel Dusk• Higher-order Collection methods
Laravel 5.4https://laravel.com/docs/5.4/releases• Laravel Dusk• Higher-order Collection methods• Markdown in email templates
Laravel 5.4https://laravel.com/docs/5.4/releases• Laravel Dusk• Higher-order Collection methods• Markdown in email templates• Components and Slots in Blade templates
Laravel 5.4https://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 Duskclass 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.6will only support PHP7
Conferences / Events
May 13-14, 2017Wichita, KSWichita State UniversityLocalhttp://kansaslinuxfest.org/
May 13-14, 2017Wichita, KSWichita State UniversityLocalhttp://kansaslinuxfest.org/FREE
Mall of America - Minneapolis, MNMarch 17-18https://2017.midwestphp.orgRegional
Mall of America - Minneapolis, MNMarch 17-18https://2017.midwestphp.org$225Regional
Regional
$225 / 275Regional
Nationalhttps://events.drupal.org/baltimore2017
National$450https://events.drupal.org/baltimore2017
https://tek.phparch.com/National
https://tek.phparch.com/$595 / 895National
Internationalhttps://www.codercruise.com/
Internationalhttps://www.codercruise.com/$225
Internationalhttps://www.codercruise.com/$225PLUS! ~$1000
National
NationalSOLD OUT
https://laracon.eu/2017/International
$375https://laracon.eu/2017/International
http://live.symfony.com/National
http://live.symfony.com/National$249
finhttp://johnkary.net/talks@johnkary