PHP Digest No. 69 - interesting news, materials and tools (August 24 - September 6, 2015)
We bring to your attention the next selection with links to news and materials.
Enjoy reading!
News and Releases
- PHP 7.0.0 RC 2 - The second release candidate contains fixes for 28 detected bugs, 7 of which are related to security. PHP-7 releases are issued strictly in accordance with the plan , which is good news.
- End of PHP 5.4 Support - The release of PHP 5.4.45 was the last scheduled update to the branch.
- PHP updates 5.5.29 and 5.6.13 - Fresh releases of current branches. Security issues fixed and bugs fixed.
- PhpStorm 9.5 Early Access Program - A new version of PhpStorm is available for testing as part of the early access program. Among the notable improvements is the built-in REPL. A list of upcoming innovations can be found here .
JetBrains also announced a new subscription-based payment model. - Vulnerability in Multiple Doctrine Projects - A detected security issue allowed an attacker to execute arbitrary code. Users of Doctrine Cache, Annotations, ORM, and MongoDB ODM are encouraged to upgrade.
- PHP Frameworks Day 2015 - October 17 in Kiev will host a PHP conference. The program is still being formed, however Jordi Boggiano, one of the Composer authors, has already been announced among the speakers.
Php
- RFC: Callable Types - It is proposed to implement the ability to specify prototypes (interfaces) of anonymous functions:
function reduce(int $a, int $b, callable(int, int):int $reducer) : int {
return $reducer($a, $b);
} - RFC: More precise float value handling - It is proposed to add the ability to specify the accuracy of real numbers during serialization.
- Researcher from Google will deal with PHP security issues - In his letter to php.internals, Matt Tait promises to make sure in the short term that all compiler and operating system security settings for PHP are enabled by default. In the long run, he is interested in implementing additional features for securing PHP applications. The first result of Matt's work was the RFC below.
- RFC: Automatic SQL Injection Protection
- Researcher from Intel will be engaged in PHP performance - Bogdan Andone writes that Intel is interested in actively participating in the PHP project and in seeking new opportunities to improve performance. Along with the announcement was a pull request to improve memory handling .
- RFC: Generics - The author proposes to implement the concept of generalizations in PHP. A similar feature has already been implemented in Hack , and an experimental implementation for PHP is also available .
Instruments
- flarum / flarum - The forum engine in PHP. Although in beta, it looks promising: a demo .
- Telegram Bot in PHP - Submitted by L0NGMAN .
- rybakit / phive-queue - A queue with time scheduling and support for various backends. Sent rybakit .
- khoaofgod / phpfastcache - A very simple but powerful class for caching.
- maximebf / php-debugbar - Debugging panel for PHP.
- elfet / purephp - Key-value storage in pure PHP.
- jonathantorres / construct - The tool allows you to generate the folder and file structure for a new PHP project.
- ircmaxell / Stauros - An experimental library for XSS protection.
- paragonie / anti-csrf - Full-featured anti-CSRF library.
- sjparkinson / static-review - Framework for writing Git hooks in PHP. Tutorial with an example of use.
- zendframework / zend-expressive - A new project from Zend that allows you to quickly implement middleware solutions based on PSR-7 .
- phpro / grumphp - The tool installs Git hooks for automatically checking the quality of PHP code.
- raveren / kint - A beautiful replacement for features
var_dump()
,print_r()
anddebug_backtrace()
. Supports CLI mode. - bravo3 / orm - ORM for NoSQL repositories like Redis.
- thephpleague / container 2.0 - Updated DI container.
- umpirsky / centipede - The tool checks the availability of all pages of the application.
- Php Inspections (EA Extended) - An extension for PhpStorm that complements the capabilities of static code analysis. Sent kalessil .
Learning Materials
PHP 7
Symfony
- Symfony 2.7 Routing Component - Routing
- Symfony Routing - How to map a route based on a host - Describes how to restrict a route to specific domains or subdomains.
- EventListeners as Collectors in Symfony
- Using Codeception for symfony projects
Yii
- Yii2 Behavior set for storing trees in the database and sharing them
- How not to write comparisons. Symfony2 vs Yii: which framework to choose in 2015?
- yii2tech - A set of useful extensions for Yii 2.
Laravel
- Social Network in PHP - Video course from www.codecourse.com on creating a social network using Laravel.
- Real-time chat using Laravel 5 and pusher.com
- Comparing Blade and Twig Templates in Laravel
- Laravel: Ratchet - WebSocket. Learning to work with sockets , 2
- Auto-increment IDs - what threatens and what to do - In addition to the zackkitzmiller / tiny-php mentioned in the article, there are also jenssegers / optimus , ivanakimov / hashids.php for obfuscating identifiers .
- Guidelines for using Libsodium in PHP projects - About solving cryptographic problems in PHP using libsodium and the libsodium-php extension .
- Logging with Monolog - An example of sending logger messages to the Slack messenger.
- PHP applications driven by voice using API.ai
- PDO again - the right way to work with databases in PHP
- Migrate existing users to a new password hashing algorithm
- Effectively select random elements from a large array
- Rethinking Event Listeners - Logic should not be written in an event handler.
- We integrate payment via Paypal in a web application
- Evolution of the cloud logs assembly and the log collector in open source
- The digest of interesting materials from the world of Drupal # 12
- Speed up database queries using PDO and iterators
Audio and video
- Where to start learning PHP?
- The basics of arrays in PHP, useful functions for working with arrays
- Developing a PHP Extension to Implement a Resizable Array
- Video recordings of reports from the phpDay 2015 conference
Thanks for attention!
If you notice a mistake or inaccuracy - please inform me in PM .
Send links to interesting articles or useful tools that were not in the PHP Digests , and your name will be next to the link in the release.
I’m waiting for questions and suggestions by mail or on Twitter . Special
thanks to Davert for the photo !
Send link
Quick search for all digests
← Previous issue