Fresh selection with links to news and materials. In the release: PHP 8.0 RC 3 and video reviews of new features, Composer 2, completion of Faker development (now in a new organization), two new RFCs for PHP 8.1, a portion of useful tools, articles, videos from past meetups.
Enjoy reading!
News and releases
- PHP 8.0 RC 3 β - . RC 4 12 26 .
PHP 8:
- PhpStorm 2020.3 PHP 8:
#[ArrayShape]
,#[ExpectedValues]
,#[NoReturn]
,#[Pure]
,#[Deprecated]
,#[Immutable]
.#[ArrayShape]
#[Immutable]
PHP. - PHP 7.4.12
- PHP 7.3.24
- Composer 2 β :
- ;
- ;
- PHP (
"platform-check": false
); --dry-run
require
remove
β , , ;--unused
remove
vendor
,composer.json
( purge);- .
php.watch .
, :composer self-update --2
.
- PHP Faker β PR PHP 8 fzaninotto/Faker , . Francois Zaninotto , . , fakerphp/Faker, PHP 8 PHP 5.
François Zaninotto , -, 25k+ . -, ORM Propel. , . 7 Propel 2 . -.
François 9 Faker.
- PHP Russia 2020 -> PHP Russia 2021 β 1 2021 .
- phpcommunity.ru β PHP- , , .
: , 4 ; , 7 ; , 14 .
PHP Internals
- [RFC] Short Functions β RFC .
class Person { public function __construct( private string $firstName, ) {} public function getFirstName(): string => $this->firstName; }"
- [RFC] Explicit octal integer literal notation β PHP
0x
,0b
.0
. , . ,016
14
"016" == 016; // false
.
0o
, .0o16 === 14; // true 016 === 0o16; // true "016" == 0o16; // false
- Literal types PoC β PHP TypeScript.
function foo(): "foo"|"bar" { return "foo"; }
PHP, RFC , . . .
- Infection PHP 0.20 β 8 PR GitHub.
- JustSteveKing/php-sdk β PHP SDK API.
- Hi-Folks/rando-php β :
$randomChars = Randomize::sequence()->chars()->count(10)->noDuplicates()->generate();
- voku/PHPDoctor β , .
- Psalm 4 β .
- phpDocumentor v3.0.0 β PHPDoc.
Symfony
- A/B Symfony travaux-com/VariantRetriever.
- Symfony #722 (26 β 1 2020)
- (RCE) Symfony β
/_fragment
/ .
Laravel
- jessarcher/laravel-castable-data-transfer-object β JSON- DTO. .
- Collector β PhpStorm PHP Laravel.
- spatie/laravel-route-attributes β PHP 8.
- Laravel β .
- Laravelβ (26 β 1 2020)
- Laravel Worldwide Meetup #4: β Ryan Chandler Β«GitHub Actions Laravel Β», Liam Hammett Β« Β».
- Laravel Fireside β 21.10.2020 β .
Yii
- PhpStorm Yii2 Support.
- yiisoft/security 1.0 β Yii 3. , .
- . β .
- MediaWiki HTTP- PHP envoyproxy/envoy .
- : Xdebug, phpdbg PCOV.
- .
- Value Object Data Transfer Object.
- PHP β 5.6 8.0 ( 1), ( 2).
- Content-Type: nginx + php-fpm.
/
- SDCast #124 β , Codeception & CodeceptJS.
- WeakReference & WeakMap / β , .
- :
- Escaping from OOP boundaries β lisachenko/z-engine.
- , β NIXMultiConf #4
- PHP ( , PHP Russia).
- : PHP ( , Yii).
- PHP4 PHP7 ( , Skyeng).
- PHP Go ( , .).
- From Doctrine ORM to CQRS in 20 minutes (Dmitry Simushev, Raiffeisenbank) .
- Meetup of the Ulyanovsk PHP community : microservices, autodeploy, legacy and internal language.
- Reports from the Samara PHP community : working with timezones, DDD and a unified error handling format.
If you notice an error or inaccuracy, please let us know in a personal .
More news and comments on the PHP Digest Telegram channel .
Send link
Search links in all digests
β Previous issue: PHP-Digest β 190