PHP Digest No. 104 - interesting news, materials and tools (March 1 - 12, 2017)
We bring to your attention the next selection with links to news and materials.
Enjoy reading!
News and Releases
- Zend Expressive 2.0
- Composer 1.4.0 - Optimized memory usage + several other improvements.
- Prophecy 1.7.0 - Update of the popular tool for creating test doubles.
- PhpStorm 2017.1 Public Preview - Support for Codeception, PHPUnit 6, improved support for PHP 7, and other improvements.
- HHVM now supports ARM architecture
- WordPress runs on .NET - After a year of development, the Peachpie project , which is developing an open compiler from PHP to .NET, has reached the ability to compile WordPress.
- Several well-known contributors to the PHP community launched crowdfunding campaigns to develop their projects. We will support the children and wish them success and strength!
- Vladimir Reznichenko - Php Inspections
- Sebastian Bergmann - PHPUnit
- Alexander Makarov - Yii - Read more in the post by Alexander SamDark .
Php
- RFC - Deprecation of fallback to root scope - Currently, if a function or constant is not found in the namespace, there will be an attempt to find an entity with that name in the global space. It is proposed to declare the functionality obsolete and throw a Notice level error:
Undefined function \My\NS\strlen(), assumed \strlen() Undefined constant \My\NS\PHP_VERSION, assumed \PHP_VERSION
Instruments
- fzaninotto / Faker - Library for generating test data. Fresh tutorial on how to use. Sent im_special_one .
- tarantool-php / mapper - Transparent work with the Tarantool database. Sent nekufa .
- makasim / yadm - Fast implementation of schema less ODM for MongoDB.
- magium / configuration-manager - Library for config management. Video tutorial .
- Maxlab / stacker - Docker based dev environment for development on popular frameworks. Habrapost in support .
- justinrainbow / json-schema - A validation tool according to json-schema.org . Fesor suggested an alternative solution to thephpleague / json-guard .
- BrainMaestro / composer-git-hooks - Manage Git hooks from the Composer config.
- ScriptFUSION / PHPUnit-Immediate-Exception-Printer - Prints information about errors that occurred while running tests without waiting for their end.
- tuupola / server-timing-middleware - PSR-7 and PSR-15 component, which makes it easy to add a Server-Timing header with timer values that appear on the Network tab of the developer's tools in the browser.
- cilex / cilex - A framework for creating command line tools.
- woohoolabs / yang - Client for JSON: API .
- spatie / server-monitor-app - Server status monitor, can send notifications by email and in Slack.
- antanas-arvasevicius / enumerable-type - A strongly typed implementation of Enum.
- violet-php / streaming-json-encoder - Streaming JSON encoding on the fly, compared to
json_encode
there is no need to load all the data into memory before encoding and the whole result after encoding.
Learning Materials
Symfony
- About integrating Disqus comments into a symfony application
- About Route Performance in Symfony
- Symfony Community Survey 2017
- Symfony Starter Video Tutorials
- New in Symfony 3.3: Preloading Resources with HTTP / 2 Push
- Symfony Week # 531 (February 27 - March 5, 2017)
- Symfony Week # 532 (March 6-12, 2017)
Yii
- codemix / yii2-configloader - Configs for Yii 2 from environment variables or .env files.
- Yii2 Development: ActiveRecord
- PhpStorm Plugins for Yii
- Yii2, quick start. The easiest site on Yii2 with static pages without using a database
- Logging in Yii 2.0 and PSR-3
- Enterprise Architecture on Yii2. Abstraction, dependency inversion, business logic encapsulation and variability management
Laravel
- laravelio / pastebin - Pastebin clone on Laravel. Demo .
- mattstauffer / Torch - An example of using each Laravel component outside the framework.
- cybercog / laravel-ban - Allows you to add the ability to block (ban) to any Eloquent-model.
- lubusIN / laravel-decomposer - A module for Laravel that displays information about installed packages, dependencies, environment.
- Laravel Homestead V5.0.0 - Update of Vagrant-based virgo environments, can be used not only for Laravel. Video tutorial on use.
- Awesome Laravel - A selection of materials and tools for Laravel. There is also a small selection of Russian-language materials.
- Laravel Forge API - The service API is now documented. There is an unofficial mpociot / blacksmith client .
- Tutorial on Laravel and ElasticSearch - Submitted by im_special_one .
- Two-factor authentication in Laravel using SMS (Twilio)
- Laravel vs Symfony. What to choose? - Sent by im_special_one .
- The state of PHP MVC frameworks in 2017
- Basic refactoring techniques: method extraction
- Google Spreadsheets PHP Tutorial
- Work with PUT requests for downloading files in PSR-7 middleware applications
- Closures, anonymous classes, and alternative approaches to mocks in testing
- Separated Tokens - About a method of protection against time attacks during authentication with a token.
- Debugging a PHP application using strace
- Vulnerability in OPCache fixed in PHP 5.6.29, 7.0.14
- Composer Autoloader Optimization - Slightly updated official documentation.
- JetBrains Webinar on Using PhpSpec and PhpStorm - Submitted by im_special_one .
- Continuous integration for PHP projects using PHP Censor
- Magento BarCamp - the new season of reports. March 2017
- Animating FirePhp in Firefox
- Magento U Published Free Fundamentals of Magento 2 Development Course
Entertaining
- From 0 to 1000 stars on GitHub for three months on a side project - On the success of the PHPStan static analyzer .
- Taylor Otwell: How I Work
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. 103