PHP Digest number 138 (August 20 - September 2, 2018)
Fresh selection with links to news and materials. At issue: the latest beta version of PHP 7.3, Laravel Nova, a site with ideas for the next versions of PHP, news about Yii 3, a portion of useful tools, videos, and much more. Enjoy reading!
News and Releases
- PHP 7.3.0 Beta 3 - Last beta in the loop. The next release will be RC 1, which is expected on September 13th .
- Changes include:
• Heredoc and Nowdoc improvements to the RFC syntax
• json_encode () and json_decode () will throw an exception in case of an error and the corresponding RFC flag
• Ability to use a comma after the last argument of the RFC function
• hrtime () returns a high time accuracy and does not depend on the system time of PR
• Added is_countable () function to check for enumerability RFC
• Using links in list () RFC
• Some features are deprecated RFC 1 , RFC 2
• in working with cookies function adds support for Site Cookie Same | RFC
• Significant improvements in PR garbage collection
and other improvements. Full list of changes .
You can read more about the changes in a detailed analysis of what's new in PHP 7.3 or quickly look at diffs .
- Changes include:
- Remote code execution on packagist.org - Vulnerability that could allow the execution of code on the Packagist PHP repository server by transferring a specially crafted string instead of a URL to the form for adding a new package. Already fixed .
- Highload fwdays'18 - September 15 in Kiev will host a large-scale conference on highload. There are no reports directly about PHP, but the program has interesting presentations on scaling, architecture, and optimization. Promo code for discount: PHPDIGEST_HL .
- php-vote.com - What would you like to see in the next version of PHP? On the site, you can add an idea or discuss and vote for already added.
Instruments
- nbs-system / snuffleupagus - Security extension for PHP 7 inspired by Suhosin . Prevents the launch of potentially unsafe code in runtime.
- adsr / phpspy - Lightweight profiler for PHP 7.
- adhocore / phint - A tool for quickly generating an application skeleton from a template.
- phpstan / phpstan - Powerful static analyzer. See what's new in v0.10 in the author's report.
- unreal4u / telegram-api - Asynchronous PHP 7 library to work with Telegram bot API.
- nette / utils - A set of useful features for every day. Post in support.
Study materials
Symfony
- Symfony Week # 609 (August 27 - September 2, 2018)
- Symfony Week # 608 (August 20-26, 2018)
- 9 features of the symfony plugin for PhpStorm in gifs
- Setting up a symfony project to work using subdomains in Docker
- Docker for symfony 4 - from lokalki to production
Yii
- Yii development notes # 24 -
• A new member joined the core team Andrey Vasilyev
• Yii 3.0 will use the yiisoft / di container
• The main package will be yiisoft / yii-core , a list of all packages is
available • A document with plans of the core command is available - Sharing Authentication yii1 / yii2
- Yii development notes # 24 -
Laravel
- Laravel Nova - Taylor announced a paid admin panel for Laravel. The demo can be viewed in the Taylor report on Laracon, or in the introductory post . Additional packages are available at novapackages.com .
- Introduction to Laravel Nova Part 1 , Part 2
- Passwordless Laravel Authentication with Signed Routes
- About views in MySQL and using them in Laravel Eloquent
- swooletw / laravel-swoole - Allows you to run Laravel on the asynchronous Swoole engine . Alternative hhxsv5 / laravel-s .
Async php
- ReactPHP Tutorial # 11: Using PSR-15 Middleware - View the entire series of ReactPHP tutorials .
- Fast web scraping with ReactPHP: download all images
CMS
- Magento Tech Digest # 29: Aug 20 - Aug 27, 2018
- Magento Tech Digest # 28: Aug 13 - Aug 20, 2018
- Early Rendering: Debugging Lesson in Drupal 8
- Setting up PhpStorm to work with Drupal 8
- Refactoring legacy PHP code with examples
- To do a method in essence or not?
- On anemic (without behavior) domain models
- When to add an interface to a class
- About arguments in the form of bit masks in PHP
- PHP secure deserialization offer
- How and why do developers use asymmetric encryption in real-world applications?
- Running PHPUnit tests with code coverage in PhpStorm when working in Docker
Audio and video
Thanks for attention!
If you notice an error or inaccuracy - please inform the PM .
Write questions and suggestions by mail or twitter .
Send link
Search links for all digests
← Previous release: PHP Digest number 137