![](http://habrastorage.org/getpro/habr/avatars/4ff/b7e/1e6/4ffb7e1e672b59a5d54622150d6d1039.jpg)
PHP Digest No. 109 - Latest News, Materials and Tools (May 14 - 28, 2017)
![](https://habrastorage.org/getpro/habr/post_images/414/48b/b21/41448bb216f6ae10871f1625c93b4380.jpg)
We bring to your attention the next selection with links to news and materials.
Enjoy reading!
News and Releases
- The end of HHVM support in popular projects - If only some two years ago, the alternative PHP virtual machine from Facebook could boast a huge performance advantage, today the difference is not significant. According to Composer statistics , the percentage of HHVM users is less than PHP 5.3 and is 0.36%. Nevertheless, thanks to the HHVM team for pushing PHP to develop.
Starting with Symfony 4, the framework will not support HHVM . Laravel discontinued support from version 5.3 . In Yii, a termination is planned in version 2.1 . Support for the MongoDB driver for HHVM is phasing out. And also support in Doctrine stops, Twig (since version 2), Silex, and Swiftmailer. - Codeception 2.3 - Updating the popular testing tool. Under the hood, support for PHPUnit 6, installation templates, and other improvements.
- Deployer 5
Php
- RFC: UUID - It is proposed to add a class
UUID
to the kernel to generate unique values according to the RFC 4122 standard . As part of the implementation , polyfiles are available for PHP versions <7.2. In addition, there is a proposal to obsolete the uniqid () function , which contrary to the name does not guarantee the return of a unique value. - RFC: Object typehint - There is a vote on the proposal to add a type
object
as an option for typinghinting. This type can be used for any objects, which can be useful when a particular type is not known in advance.
Instruments
- wapmorgan / Imagery - GD wrapper for working with images. Sent wapmorgan .
- IcyApril / WhatsChanged - Allows you to run PHPUnit tests only for classes that have been changed. Post in support.
- kitetail / zttp - A wrapper around Guzzle with concise and convenient syntax.
- teresko / palladium - Component for authentication and user registration.
- iranianpep / botonomous - A framework for creating bots for Slack.
- mcustiel / phiremock - A tool for mocking HTTP requests and REST services for use in acceptance tests.
Learning Materials
Symfony
- EasyCorp / easy-deploy-bundle - A bundle without third-party dependencies for seamless deployment of Symfony applications.
- Website architecture and code for French President
- Symfony Week # 542 (May 15-21, 2017)
- Symfony Week # 543 (May 22-28, 2017)
Yii
- Development on Yii2: Add polls, comments, sharing
YiiConf 2017 June 16 in Moscow - the program is formed
An alternative project organization on Yii2 - A plug-in system and a way to structure projects. Sent hiqsol .
Laravel
- spatie / laravel-medialibrary - Allows you to attach files to any Eloquent-models.
- davestewart / laravel-sketchpad - Dev-interface for quick development on Laravel.
Zend
- The list () function and the practical use of array destructuring
- PHP Language Trivia - Slides by Nikita Popov about interesting PHP features.
- Autocomplete Composer scripts on the command line
- Retrieving Value Objects
- Web Application Security Checklist
- Encrypted database with the ability to search in PHP and SQL
- Performance Testing with Siege
- Message Bus for PHP Applications
We prepare the local Docker environment for development in PHP
Symfony St. Speaker Video Petersburg Meetup # 1
Getting ready for a PHP interview: Everything you wanted to know about interfaces, signature compatibility, and were not afraid to learn
We make the GraphQL API on PHP and MySQL. Part 2: Mutations, variables, validation and security , Part 3: Solving the problem of N + 1 queries
Type hinting according to all canons of polymorphism in old versions of PHP
Backend I / O Performance: Node vs. PHP vs. Java vs. Go
Another logging system, now on ElasticSearch, Logstash, Kibana and Prometheus
How to write logs correctly
Building a modular application architecture on Forwarding decorators (author translation)
SQL vs ORM
Learning a neural network of geometry
Threads and PHP
About generics in PHP and why we need them
Thanks for attention!
If you notice a mistake or inaccuracy - please inform me in PM .
Questions and suggestions write to mail or twitter .
Send link
Quick search for all digests
← Previous release: PHP Digest No. 108