Last Month in PHP
February 2017
Kansas City PHP User Group
PHP Patch Releases
PHP 7.0.16
● Bug fixes
● php.net/ChangeLog-7.php#7.0.16
PHP 7.1.2
● Bug fixes
● php.net/ChangeLog-7.php#7.1.2
New version of PHPUnit
PHPUnit 6.0
● Supports Actively Supported Versions of PHP
○ PHP 7.0 & PHP 7.1
● Namespaced classes
○ PHPUNit_Framework_TestCase → PHPUnitFrameworkTestCase
● Now check against useless tests is enabled by default
○ PHP 5.7: vendor/bin/phpunit --report-useless-tests
○ PHP 6.0: vendor/bin/phpunit --dont-report-useless-tests
● github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHP
Unit-6.0.0
Upcoming Features in PHP RFC
Trailing Commas in List Syntax
● Target: 7.2
● tl;dr: make additional groupings easier to
arrange when using a version control
system
● Several proposals, few passed:
○ Grouped namespaces
○ Interface implementations on a class
● wiki.php.net/rfc/list-syntax-trailing-commas
Grouped namespaces
use FooBar{
Foo,
Bar,
Baz,
};
Interface implementations on a class
class Foo implements
FooInterface,
BarInterface,
BazInterface,
{
Upcoming Features in PHP RFC
Make Libsodium a Core Extension
● Target: 7.2
● tl;dr: move highly-regarded libsodium library from being an extension to being
a core feature
● Passed unanimously
● CRYPTO in Core!
● wiki.php.net/rfc/libsodium
Upcoming Features in PHP RFC
list() Reference Assignment
● Target: 7.2
● tl;dr: use the assignment operator (“&”) in
a list to change a value in the original
array
● wiki.php.net/rfc/list_reference_assignment
CMSes: Drupal
Drupal 7.54, 8.2.6
● Drupal 7.54
○ Maintenance Release
○ drupal.org/project/drupal/releases/7.54
● Drupal 8.2.4
○ Final scheduled patch release in 8.2.x
■ 8.3 will be released in April
○ Core is compatible with PHP 7.1
○ New JS test methods added
○ drupal.org/project/drupal/releases/8.2.4
CMSes: WordPress
WordPress 4.7 - “Vaughan”
● No updates
Frameworks - CakePHP
CakePHP 3.4 “Red Velvet”
● PSR-7 Request & Response objects
● Routes support a _host option to match URLs on specific domains
● Collection::chunkWithKeys() - split a collection into chunks and preseve keys
● Email messages have their priority set
● FormHelper can read default data out of the query string
○ GET forms are now more simple to build
● Deprecations on the road to 4.0
● bakery.cakephp.org/2017/02/12/cakephp_340_released.html
Frameworks - Laravel
Laravel 5.4.[8, 9, 10, 11, 12, 13]
● Laravel 5.4
○ Maintenance releases
○ Includes new Collections::when()
method
○ Includes new Collections::tap()
method
○ Throw JsonEncodingException when
JSON encoder fails to encode eloquent
attribute
○ See:
github.com/laravel/framework/blob/5.4/CH
ANGELOG-5.4.md
Frameworks - Symfony
Symfony 3.2.{3, 4}, 2.8.17, 2.7.24
● symfony.com/blog/symfony-3-2-4-released
● symfony.com/blog/symfony-3-2-3-released
● symfony.com/blog/symfony-2-8-17-released
● symfony.com/blog/symfony-2-7-24-released
Frameworks - Zend
ZF 3.0
● No updates
PHP: The Right Way
● Improved Arabic Translation ● Note: Every open-source project can use
your help with documentation. What are
you waiting for?
PHP Conferences
Confoo.CA 2017
● Mar 8-10 - Montreal, CAN
● confoo.ca/en/yul2017
Midwest PHP 2017
● March 17-18 - Minneapolis, MN
● 2017.midwestphp.org
Lonestar PHP 2017
● Apr 20-22 - Dallas, TX
● lonestarphp.com
DrupalCon Baltimore
● April 24-28 - Baltimore, MD
● events.drupal.org/baltimore2017
PHP Conferences - Continued
PHP[TEK] 2017
● May 24-26 - Atlanta, GA
● tek.phparch.com
CoderCruise 2017
● July 16-23 - New Orleans, LA
● codercruise.com
Nomad PHP (Online) - January 19
Nomad PHP EU - 01:00 PM CST
Zend Framework Done Right
● Gary Hockin (@GeeH)
● nomadphp.com/zend-framework-done-righ
t/
Nomad PHP US - 08:00 PM CST
Yielding Higher-Performance PHP
Applications
● Ian Littman (@iansltx)
● nomadphp.com/yielding-higher-performan
cephp-applications
Next Month in KCPHPUG
● John Kary, everyone!

Last Month in PHP - February 2017

  • 1.
    Last Month inPHP February 2017 Kansas City PHP User Group
  • 2.
    PHP Patch Releases PHP7.0.16 ● Bug fixes ● php.net/ChangeLog-7.php#7.0.16 PHP 7.1.2 ● Bug fixes ● php.net/ChangeLog-7.php#7.1.2
  • 3.
    New version ofPHPUnit PHPUnit 6.0 ● Supports Actively Supported Versions of PHP ○ PHP 7.0 & PHP 7.1 ● Namespaced classes ○ PHPUNit_Framework_TestCase → PHPUnitFrameworkTestCase ● Now check against useless tests is enabled by default ○ PHP 5.7: vendor/bin/phpunit --report-useless-tests ○ PHP 6.0: vendor/bin/phpunit --dont-report-useless-tests ● github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHP Unit-6.0.0
  • 4.
    Upcoming Features inPHP RFC Trailing Commas in List Syntax ● Target: 7.2 ● tl;dr: make additional groupings easier to arrange when using a version control system ● Several proposals, few passed: ○ Grouped namespaces ○ Interface implementations on a class ● wiki.php.net/rfc/list-syntax-trailing-commas Grouped namespaces use FooBar{ Foo, Bar, Baz, }; Interface implementations on a class class Foo implements FooInterface, BarInterface, BazInterface, {
  • 5.
    Upcoming Features inPHP RFC Make Libsodium a Core Extension ● Target: 7.2 ● tl;dr: move highly-regarded libsodium library from being an extension to being a core feature ● Passed unanimously ● CRYPTO in Core! ● wiki.php.net/rfc/libsodium
  • 6.
    Upcoming Features inPHP RFC list() Reference Assignment ● Target: 7.2 ● tl;dr: use the assignment operator (“&”) in a list to change a value in the original array ● wiki.php.net/rfc/list_reference_assignment
  • 7.
    CMSes: Drupal Drupal 7.54,8.2.6 ● Drupal 7.54 ○ Maintenance Release ○ drupal.org/project/drupal/releases/7.54 ● Drupal 8.2.4 ○ Final scheduled patch release in 8.2.x ■ 8.3 will be released in April ○ Core is compatible with PHP 7.1 ○ New JS test methods added ○ drupal.org/project/drupal/releases/8.2.4
  • 8.
    CMSes: WordPress WordPress 4.7- “Vaughan” ● No updates
  • 9.
    Frameworks - CakePHP CakePHP3.4 “Red Velvet” ● PSR-7 Request & Response objects ● Routes support a _host option to match URLs on specific domains ● Collection::chunkWithKeys() - split a collection into chunks and preseve keys ● Email messages have their priority set ● FormHelper can read default data out of the query string ○ GET forms are now more simple to build ● Deprecations on the road to 4.0 ● bakery.cakephp.org/2017/02/12/cakephp_340_released.html
  • 10.
    Frameworks - Laravel Laravel5.4.[8, 9, 10, 11, 12, 13] ● Laravel 5.4 ○ Maintenance releases ○ Includes new Collections::when() method ○ Includes new Collections::tap() method ○ Throw JsonEncodingException when JSON encoder fails to encode eloquent attribute ○ See: github.com/laravel/framework/blob/5.4/CH ANGELOG-5.4.md
  • 11.
    Frameworks - Symfony Symfony3.2.{3, 4}, 2.8.17, 2.7.24 ● symfony.com/blog/symfony-3-2-4-released ● symfony.com/blog/symfony-3-2-3-released ● symfony.com/blog/symfony-2-8-17-released ● symfony.com/blog/symfony-2-7-24-released
  • 12.
    Frameworks - Zend ZF3.0 ● No updates
  • 13.
    PHP: The RightWay ● Improved Arabic Translation ● Note: Every open-source project can use your help with documentation. What are you waiting for?
  • 14.
    PHP Conferences Confoo.CA 2017 ●Mar 8-10 - Montreal, CAN ● confoo.ca/en/yul2017 Midwest PHP 2017 ● March 17-18 - Minneapolis, MN ● 2017.midwestphp.org Lonestar PHP 2017 ● Apr 20-22 - Dallas, TX ● lonestarphp.com DrupalCon Baltimore ● April 24-28 - Baltimore, MD ● events.drupal.org/baltimore2017
  • 15.
    PHP Conferences -Continued PHP[TEK] 2017 ● May 24-26 - Atlanta, GA ● tek.phparch.com CoderCruise 2017 ● July 16-23 - New Orleans, LA ● codercruise.com
  • 16.
    Nomad PHP (Online)- January 19 Nomad PHP EU - 01:00 PM CST Zend Framework Done Right ● Gary Hockin (@GeeH) ● nomadphp.com/zend-framework-done-righ t/ Nomad PHP US - 08:00 PM CST Yielding Higher-Performance PHP Applications ● Ian Littman (@iansltx) ● nomadphp.com/yielding-higher-performan cephp-applications
  • 17.
    Next Month inKCPHPUG ● John Kary, everyone!