Slide 1

Slide 1 text

The Latest in PHP June 2017 Edition

Slide 2

Slide 2 text

Presented by Chris Gmyr @cmgmyr

Slide 3

Slide 3 text

PHP Releases 7.1.6, 7.0.20, 7.2.0-alpha1 4 Bug Fixes 4 http://www.php.net/ChangeLog-7.php#7.1.6 4 http://www.php.net/ChangeLog-7.php#7.0.20

Slide 4

Slide 4 text

PHP RFCs Accepted: Object typehint (https://wiki.php.net/rfc/ object-typehint) function acceptsObject(object $obj) { // }

Slide 5

Slide 5 text

PHP RFCs Implemented (7.2): Allow abstract function override (https://wiki.php.net/rfc/allow-abstract-function- override) abstract class A { abstract function bar(stdClass $x); } abstract class B extends A { abstract function bar($x): stdClass; } class C extends B { function bar($x): stdClass{} } // Fatal error: Can't inherit abstract function A::bar() // (previously declared abstract in B)

Slide 6

Slide 6 text

PHP RFCs Under Discussion: UUID (https://wiki.php.net/rfc/uuid) “Provide a UUID implementation as part of the PHP standard module…” (implement https://github.com/ramsey/uuid into core)

Slide 7

Slide 7 text

PHPUnit 6.2.0 4 Bug fixes 4 Better support for counting non-Iterator Traversable objects 4 Add support for disabling the conversion of E_DEPRECATED to exceptions 4 Add --no-logging option to disable logging https://github.com/sebastianbergmann/phpunit/wiki/Release- Announcement-for-PHPUnit-6.2.0

Slide 8

Slide 8 text

Framework: Laravel 5.4.[23-27] 4 Added ability to eager load counts via $withCount property 4 Added Router::apiResource() method (no create or edit routes) 4 Added TestResponse::assertViewIs() method 4 Added Model::refresh() shorthand 4 Added Request::routeIs() & Route Route::isName() 4 Added Macroable trait to FactoryBuilder https://github.com/laravel/framework/releases

Slide 9

Slide 9 text

Laravel 5.5 in July !

Slide 10

Slide 10 text

Framework: Symfony 4 2.7.[28-29] 4 2.8.[21-22] 4 3.2.9 4 3.3.[0-2] https://symfony.com/blog/category/releases https://symfony.com/blog/symfony-3-3-0-curated- new-features

Slide 11

Slide 11 text

CMS: Drupal 4 8.3.3 4 7.55 https://www.drupal.org/project/drupal/releases

Slide 12

Slide 12 text

CMS: Wordpress 4.8 “Evans” 4 Widget Updates: Image, Video, Audio, Rich Text 4 Multi-site updates 4 JS API updates: Text Editor, Media Widgets https://wordpress.org/news/2017/06/evans/

Slide 13

Slide 13 text

CMS: Magento 2.0.14 4 Support for MasterCard BIN number expansion 4 Resolution of multiple high priority and critical security issues 2.1.7 4 Resolution of multiple high priority and critical security issues 4 Reversion of the changes to image resizing that we introduced in 2.1.6

Slide 14

Slide 14 text

IDE: PHPStorm 2017.2 EAP 4 New Composer actions 4 traits improvements 4 New UML actions 4 remove Composer dependency action 4 PHP extensions detection 4 improved UI for PHP settings page https://blog.jetbrains.com/phpstorm/

Slide 15

Slide 15 text

IDE: VSCode 1.13 4 Set multiple cursors with Ctrl/Cmd + Click 4 Improved Git merge 4 Emmet abbreviations display 4 Enhanced snippets 4 Docker and MERN debugging recipes https://code.visualstudio.com/updates/v1_13

Slide 16

Slide 16 text

PHP Conferences - June Dutch PHP Conference June 29–July 1, Amsterdam, The Netherlands https://www.phpconference.nl

Slide 17

Slide 17 text

PHP Conferences - July Laracon July 25-26, NYC http://laracon.us/

Slide 18

Slide 18 text

Nomad PHP - June 22 US Pieces of Auth By Chris Cornutt Europe Transforming PHP By Christopher Pitt https://nomadphp.com/

Slide 19

Slide 19 text

Upcoming regional events Oct 7-8 - NCDevCon - http://ncdevcon.com Oct 23-24 - All Things Open - http://allthingsopen.org

Slide 20

Slide 20 text

Notable News & Articles 4 How to Go From Development to Deployment with Docker 4 Controllers and Domain Exceptions 4 What is PSR-7 and How to Use It 4 Web Developer Security Checklist 4 PHP Versions Stats - 2017.1 Edition 4 Generate a JSON Feed with Laravel 4 Laravel 5.5 Gets Improvements with the Default Error Views 4 What Is WP-CLI? A Beginner’s Guide 4 15 years of Xdebug

Slide 21

Slide 21 text

Next Month @ TrianglePHP TBD Presented By - You?!? Thursday, July 20 6pm Atlantic BT

Slide 22

Slide 22 text

Have a Job/Need a Job Who's hiring? Who's looking? What are you looking for?

Slide 23

Slide 23 text

Tonight @ TrianglePHP Microlithic Applications in PHP Presented By - Michael Kelly Thank you to Atlantic BT for hosting and refreshments!