Last Month in PHP - February 2017

D3e3f4ac37c02289f5dfed115949fc88?s=47 John Kary
February 01, 2017

Last Month in PHP - February 2017

Kansas City PHP User Group
February 1, 2017

D3e3f4ac37c02289f5dfed115949fc88?s=128

John Kary

February 01, 2017
Tweet

Transcript

  1. Last Month in PHP February 1, 2017
 Kansas City PHP

    User Group John Kary @johnkary
  2. Releases

  3. 5.6.30 7.0.15 7.1.1

  4. Wordpress 4.7.1 Security Release

  5. Wordpress 4.7.1 Security Release Upgrade NOW!

  6. Drupal 8.2.5 Security Release

  7. Drupal 8.2.5 Security Release Upgrade NOW!

  8. Laravel 5.4 https://laravel.com/docs/5.4/releases

  9. Laravel 5.4 https://laravel.com/docs/5.4/releases • Laravel Dusk

  10. Laravel 5.4 https://laravel.com/docs/5.4/releases • Laravel Dusk • Higher-order Collection methods

  11. Laravel 5.4 https://laravel.com/docs/5.4/releases • Laravel Dusk • Higher-order Collection methods

    • Markdown in email templates
  12. 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
  13. 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
  14. 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');
 });
 }
 }
  15. Collection Higher Order Functions $users = User::where('group', 'Development')->get();

  16. Collection Higher Order Functions $users = User::where('group', 'Development')->get(); // Without

    Collections
 $total = 0;
 foreach ($users as $user) {
 $total += $user->votes;
 }
 echo $total;
  17. 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();
  18. 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
  19. Xdebug 2.6 will only support PHP7

  20. Conferences / Events

  21. May 13-14, 2017 Wichita, KS Wichita State University Local http://kansaslinuxfest.org/

  22. May 13-14, 2017 Wichita, KS Wichita State University Local http://kansaslinuxfest.org/

    FREE
  23. Mall of America - Minneapolis, MN March 17-18 https://2017.midwestphp.org Regional

  24. Mall of America - Minneapolis, MN March 17-18 https://2017.midwestphp.org $225

    Regional
  25. Regional

  26. $225 / 275 Regional

  27. National https://events.drupal.org/baltimore2017

  28. National $450 https://events.drupal.org/baltimore2017

  29. https://tek.phparch.com/ National

  30. https://tek.phparch.com/ $595 / 895 National

  31. International https://www.codercruise.com/

  32. International https://www.codercruise.com/ $225

  33. International https://www.codercruise.com/ $225 PLUS! ~$1000

  34. International https://www.codercruise.com/ $225 PLUS! ~$1000

  35. National

  36. National SOLD OUT

  37. https://laracon.eu/2017/ International

  38. $375 https://laracon.eu/2017/ International

  39. http://live.symfony.com/ National

  40. http://live.symfony.com/ National $249

  41. fin http://johnkary.net/talks @johnkary