
The digest of interesting news and materials from the world of PHP No. 42 (June 1 - 16, 2014)

We bring to your attention the next selection with links to news and materials.
Enjoy reading!
News and Releases
- Pickle - Implemented a prototype manager for PECL extensions, which will be compatible with Composer, and possibly included in the standard PHP package.
- Codeception 2.0 Final - Release a great testing tool. The parallel execution of tests and a number of other innovations.
- PHP 5.6 beta 4 - The expected latest beta release and a small fresh overview of the changes and new features of PHP . The first release candidate is expected on June 19.
- PHP-Excel v1.0 - Release of the well-known library for reading / writing Excel files.
For the first time in 15 years, the HTTP / 1.1 protocol specification has been updated
PHP User Group Dnepropetrovsk - A new group of PHP users and the first meeting will be held soon . Give more groups in all cities!
Php
- RFC: Uniform Variable Syntax - A proposal from Nikita Popov, which involves the introduction of a single syntax for variables and calls in PHP. So, constructions inaccessible at the moment will become possible:,
$foo()['bar'](); $foo::$bar::$baz; foo()(); $foo->bar()()
as well as operations with any expressions in brackets, for example(function() { ... })()
, others. - RFC: Bare Name Array Literal - It is proposed to make quotation marks optional in declaring keys and array values, similar to declaring objects in JavaScript.
- RFC: Bare Name Array Dereference - Continuing to the previous one, in this sentence, the author wants to reduce the syntax of accessing elements of a nested array, and instead
$myArray['foobar']['andSoOn']['moreKeys']
use something similar$myArray:>foobar:>andSoOn:>moreKeys
.
Instruments
- Buzz - A lightweight HTTP client.
- Snoop - The library allows you to find information about the user (social profiles, images, etc.) by his email. Used by the Rapportive API .
- Stapler - A library for uploading files in PHP and bundled with ORM. The author was inspired by the Paperclip Ruby tool .
- JSON Lint - A useful library from the creator of Composer.
- PHPloy - A tool for updating servers via FTP.
- Swap - The library allows you to receive exchange rates from various providers.
- LanguageDetector - Allows you to set the language by line.
- Certificationy - A console application for preparing for Symfony certification.
Learning Materials
- Rasmus Lerdorf about PHP 5.6, 6.0 and more - A short interview with the creator of PHP, as well as slides from Rasmus's latest report on PHP 5.5, 5.6 and application deployment .
- Prototype inheritance in PHP - An experiment to implement inheritance a la JavaScript in PHP. The translation arrived in time
.
- Named constructors in PHP - As you know, PHP does not support constructor overloading, so the author offers an alternative solution in the form of static factory methods.
- When to use static methods
- PHP traits explanation
- We work with currencies and courses in PHP
- Token Authentication in Silex + AngularJS Application
- Creating and processing forms in Symfony 2
- Symfony2 + AngularJS - A small post on how to link popular frameworks into an application.
- CSS Minifications in Laravel - Tutorial on creating the appropriate command for the Artisan command-line tool from Laravel.
- Dependency injection using IoC in Laravel - Tutorial on using dependency injection container in Laravel applications.
- Using Google's BigQuery in PHP - The post is not the latest, but it becomes especially relevant in view of the announcement of open access to GDELT from Google BigQuery .
- Overview of the new features of PhpStorm 8
- The answer with a transparent single-pixel image or how to track the opening of letters using Symfony
- Install Nginx and PHP on Raspberry Pi
Yii2 development news digest # 8 May-June'14
Speedran on 13 vulnerabilities on sites. Basic concepts and remedies
Sphinx indexing from a remote server using PHP
Phalcon Framework on Production
Useful Laravel Development Tools
Yii2. Active Record Links
Audio and video
Analysis of bottlenecks - An interesting report by Ilya Alshanetsky . Slides here .
Validation of forms in Symfony 2 - Continuation of the series of screencasts about Symfony 2. Previously there were: the creation of reusable forms , basics , routing , controllers and templates .
Annotations in PHP Annotations: They Exist! - About how someone uses annotations, and tips for using them in their projects.
Free course on testing in PHP - After registration, you will have access to the entire course, which covers both the basics of testing in general and the use of specific tools: PHPUnit, Codeception, Behat.
BDD in open source development - An interesting report from the developer Sylius - ecommerce solutions for Symfony2.
The Driven Developer , PHPUnit Best Practices - Test reports from the creator of PHPUnit.
- Sound of Symfony Podcast: Episode 1 - The first release of a new podcast on Symfony and PHP.

Quick Search All Digests
← Previous Issue