Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Last Month in PHP - February 2017

John Kary
February 01, 2017

Last Month in PHP - February 2017

Kansas City PHP User Group
February 1, 2017

John Kary

February 01, 2017
Tweet

More Decks by John Kary

Other Decks in Programming

Transcript

  1. Last Month in PHP
    February 1, 2017

    Kansas City PHP User Group
    John Kary
    @johnkary

    View Slide

  2. Releases

    View Slide

  3. 5.6.30
    7.0.15
    7.1.1

    View Slide

  4. Wordpress
    4.7.1
    Security Release

    View Slide

  5. Wordpress
    4.7.1
    Security Release
    Upgrade NOW!

    View Slide

  6. Drupal
    8.2.5
    Security Release

    View Slide

  7. Drupal
    8.2.5
    Security Release
    Upgrade NOW!

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  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

    View Slide

  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

    View Slide

  14. 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');

    });

    }

    }

    View Slide

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

    View Slide

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

    $total = 0;

    foreach ($users as $user) {

    $total += $user->votes;

    }

    echo $total;

    View Slide

  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();

    View Slide

  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

    View Slide

  19. Xdebug 2.6
    will only support PHP7

    View Slide

  20. Conferences / Events

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  25. Regional

    View Slide

  26. $225 / 275
    Regional

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

  35. National

    View Slide

  36. National
    SOLD OUT

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide

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

    View Slide