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 full-size slide

  2. 5.6.30
    7.0.15
    7.1.1

    View full-size slide

  3. Wordpress
    4.7.1
    Security Release

    View full-size slide

  4. Wordpress
    4.7.1
    Security Release
    Upgrade NOW!

    View full-size slide

  5. Drupal
    8.2.5
    Security Release

    View full-size slide

  6. Drupal
    8.2.5
    Security Release
    Upgrade NOW!

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  11. 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 full-size 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
    • Job-level retry and timeout

    View full-size slide

  13. 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 full-size slide

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

    View full-size slide

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

    $total = 0;

    foreach ($users as $user) {

    $total += $user->votes;

    }

    echo $total;

    View full-size 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;
    // With Laravel Collection functions

    $users->map(function ($user) {

    return $user->votes;

    })->sum();

    View full-size 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();
    // With higher-order collection functions

    echo $users->sum->votes; // 12

    View full-size slide

  18. Xdebug 2.6
    will only support PHP7

    View full-size slide

  19. Conferences / Events

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  24. $225 / 275
    Regional

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

  33. National
    SOLD OUT

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide

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

    View full-size slide