PHP Digest number 132 (May 27 - June 10, 2018)

Fresh selection with links to news and materials. In the release: PHP 7.3.0 alpha 1, Yii 3.0 alpha 1 and other releases, a fresh book on asynchronous PHP, video recording of reports, a portion of useful tools, and much more. Enjoy reading!
News and Releases
- PHP 7.3.0 alpha 1 -The first alpha version of the new PHP branch is available for testing. A semi-annual testing cycle started , the final release is expected in late November.
- 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 independent of PR system time
• Added is_countable () function to check for enumeration of RFCs
• Use links in list () RFC
• Significant improvements in PR garbage collector
and other improvements. Full list of changes .
- Changes include:
- Phalcon 3.4.0
- Latest PHP-FIG news: April and May - PSR-5 (PHPDoc) is divided into two: about formatting and tag catalog, PSR-9 and PSR-10 (security) come alive with a new leader, PSR-14 (Event Dispatcher) in progress , PSR-17 (http factories) and PSR-18 (http clients) are almost ready to go to the review.
- The State of Developer Ecosystem in 2018 - A JetBrains report based on a survey of 6,000 developers.
Instruments
- z7zmey / php-parser v0.5.0 - The PHP parser implemented on Go continues to evolve.
- nesk / rialto - A tool for managing Node.js resources from PHP. It can be used to implement interaction with the Node.js libraries.
- nesk / puphpeteer - An example of using nesk / rialto, PHP wrapper for working with Google Chrome / puppeteer (Headless Chrome).
- mlambley / swagception - Generates acceptance tests for Codeception based on your Swagger 2.0 (Open API 2.0) specification.
- RobThree / TwoFactorAuth - Two-factor authentication based on one-time TOTP passwords or QR codes.
- OwenMelbz / forget-db - A simple tool to anonymize (for example, for GDPR) data in the database.
- gordalina / cachetool is a CLI tool for managing apc and opcache.
- digitaldonkey / ethereum-php - A typed interface for Ethereum JSON-RPC API.
- SocialConnect / auth - Library for authentication through social. services (OAuth1 / 2, OpenID, OpenIDConnect). 25+ providers out of the box.
- xobotyi / rsync - Handy wrap over rsync for PHP 7.1+. Sent by xobotyi .
- krakjoe / idbg - A debugger for PHP implemented in PHP, for the time being, however, requires the krakjoe / idbg extension . Post with a description.
Study materials
Symfony- Symfony 4.1.0 - Complete list of all changes and improvements.
- Symfony Console application with Dependency Injection
Symfony component overview: Config- Symfony Week # 597 (June 4-10, 2018)
- Symfony Week # 596 (May 28 - June 3, 2018)
Yii- Yii 3.0.0 alpha 1 - The Yii framework command should be semver, so instead of release 2.1, 3.0 is expected in the near future. Tag of the first alpha is already set, waiting for the official announcement.
Laravel- avto-dev / app-version-laravel - By default, Laravel does not have a built-in mechanism for working with the application version value, and this package is intended to compensate for this flaw. Sent by cmepthuk .
- avto-dev / db-config-laravel - The package allows you to override the values in the application configuration with the values from the database, while maintaining backward compatibility. Sent by cmepthuk .
- laravolt / avatar - Generator avatars by username.
- gpressutto5 / laravel-slack - Slack Notifications for Laravel.
- beyondcode / laravel-visual-diff - The package provides the ability to compare page snapshots between two test runs. Post in support.
- laravelevents.com - Aggregator of meetings, conferences, and other events related to Laravel.
- All posts for the Laravel contest in descending order of rating
Async php
- ReactPHP for beginners - Fresh book from Sergey Zhuk for beginners in the world of asynchronous PHP applications. Available in Russian and English .
- [RFC] Fiber - Started a vote on the proposal to add Fiber (stakful-korutin) to the core.
Simple HTTP Server with ReactPHP
FLOSS Weekly # 486: ReactPHP - Interview with @wyrihaximus .
CMS
- WordPress Month: May 2018
- Magento Tech Digest # 18: May 28 - June 4, 2018
Magento 2 REST API on the example of a simple module
- Top 100 most commonly used PHP functions - Analysis of 1900 popular open source projects.
- Scopi in PHPStorm - IDE allows you to group files and then paint them in a tree, and then search in groups.
- Where and when to determine the entity ID - An interesting post about the use of auto-increment ID database and the generation of identifiers in the application.
- 30 seconds of php code - Short useful PHP snippets that can be understood in 30 seconds
- About the Page Object Model Pattern
- Memory profiling in PHP using XHProf
Strange operators in PHP
A simple explanation of the principles of SOLID
Non-full text search: Elasticsearch specific capabilities for complex tasks
Audio and video

PHP application in Kubernetes (experience 2GIS)
Pyatiminutka PHP: Issue №33 - JWT with Artem Pulyavin
Entertaining
- oraoto / pib - PHP in Browser - PHP compiled to WebAssembly using Emscripten .
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 131