Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Last Month in PHP - February 2017
Search
John Kary
February 01, 2017
Programming
1
150
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
Last Month in PHP - March 2019
johnkary
0
110
Last Month in PHP - September 2018
johnkary
0
63
Last Month in PHP - July 2018
johnkary
1
180
Last Month in PHP - June 2018
johnkary
0
100
Last Month in PHP - November 2017
johnkary
0
78
Last Month in PHP - June 2017
johnkary
0
91
Functions in PHP: Part 1 - Writing Your Own Functions
johnkary
0
250
Keeping Software Soft
johnkary
0
160
Scratch: An On-Ramp to Programming
johnkary
0
140
Other Decks in Programming
See All in Programming
Using AI Tools Around Software Development
inouehi
0
1.1k
Javaのルールをねじ曲げろ!禁断の操作とその代償から学ぶメタプログラミング入門 / A Guide to Metaprogramming: Lessons from Forbidden Techniques and Their Price
nrslib
3
1.9k
Development of an App for Intuitive AI Learning - Blockly Summit 2025
teba_eleven
0
110
コードに語らせよう――自己ドキュメント化が内包する楽しさについて / Let the Code Speak
nrslib
6
1.4k
Agent Rules as Domain Parser
yodakeisuke
1
520
Webからモバイルへ Vue.js × Capacitor 活用事例
naokihaba
0
470
Cursor Meetup Tokyo ゲノミクスとCursor: 進化と制約のあいだ
koido
2
950
Use Perl as Better Shell Script
karupanerura
0
680
Prism.parseで 300本以上あるエンドポイントに 接続できる権限の一覧表を作ってみた
hatsu38
1
110
Cloudflare Realtime と Workers でつくるサーバーレス WebRTC
nekoya3
0
370
機械学習って何? 5分で解説頑張ってみる
kuroneko2828
0
190
2度もゼロから書き直して、やっとブラウザでぬるぬる動くAIに辿り着いた話
tomoino
0
150
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Fireside Chat
paigeccino
37
3.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
180
53k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.8k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Code Reviewing Like a Champion
maltzj
524
40k
Into the Great Unknown - MozCon
thekraken
39
1.8k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Writing Fast Ruby
sferik
628
61k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
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' => '
[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.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