Fresh selection with links to news and materials. In release: PHP 8 beta 3, new attribute syntax adopted in PHP 8, Zephir everything, a whole bunch of useful tools, articles, videos, podcasts.
Enjoy reading!
News and releases
- PHP 8 beta 3 - The last beta in the cycle. The next release will be RC 1, which is expected on September 17th.
- PHP 7.4.10 , PHP 7.3.22
- Zephir Phalcon β Zephir PHP- Phalcon , Zephir , Phalcon 5 PHP.
- WordPress PHP. Matt Mullenweg, PHP 5.6 . PHP β€5.6 21.6% WP.
PHP Internals
- [RFC] Shorter Attribute Syntax Change β - .
#[Attribute]
.#[ ORM\Entity, ORM\Table("user") ] class User { #[ORM\Id, ORM\Column("integer"), ORM\GeneratedValue] private $id; #[ORM\Column("string", ORM\Column::UNIQUE)] #[Assert\Email(["message" => "The email '{{ value }}' is not a valid email."])] private $email; }
,@@Attr
PR.#[ ]
, .
// #[ORM\Entity] #[ORM\Table("user")] // #[ ORM\Entity, ORM\Table("user") ]
. - [RFC] any() and all() on iterables β :
any(iterable $input, ?callable $callback = null): bool
β , ,true
.
all(...)
βtrue
,true
.
:
// $satisifes_predicate = false; foreach ($item_list as $item) { if (API::satisfiesCondition($item)) { $satisfies_predicate = true; break; } } if (!$satisfies_predicate) { throw new APIException("No matches found"); } // if (!any($item_list, fn($item) => API::satisfiesCondition($item))) { throw new APIException("No matches found"); }
- Pest 0.3 β PHPUnit, . PhpStorm Pest IntelliJ.
- Codeception/Verify 2.0 β PHPUnit Codeception fluent-.
- ramsey/composer-repl β
composer repl
bobthecow/psysh. - brick/money β . , GMP BCMath. moneyphp/money.
- bassim/super-expressive-php β - . VerbalExpressions/PHPVerbalExpressions.
- phpsci/phpsci-carray β PHP . NumPy.
- github.com/phpwebclient β PSR-18 HTTP-.
- hamlet-framework/type β . , , cast, assert, instanceof . .
Symfony
Laravel
- laravel-orion/laravel-orion β REST API Eloquent- . @alexzarbn.
- Statamic 3 β CMS Laravel.
- Laravel-.
- Legacy Laravel: .
- Laravel 8 β ? β 8 .
- Laravelβ (24 β 6 2020)
- Laravel Worldwide Meetup #2: Neo Ighodaro and Michael Dyrynda
Yii
- yiisoft/auth β Yii 3 , , PSR-15 middleware .
- yiisoft/strings β .
Async PHP
- PHP- Β« Β» β ( , ).
- : 1 β , -.
- unserialize() PHP β .
- (psalm) .
- PHP FFI.
- Xdebug + Docker + PhpStorm, .
- Anna Filina β Anna Filina PHP:
- Xdebug Windows Subsystem For Linux 2 (WSL2).
- PHP-.
- : .
- PHP.
- . ? β .
- Lingualeo PostgreSQL 23 β PHP . : .
- 20_20 β , β .
/
- Tobias Nyholm async-aws/aws AWS.
- IT , .
- PHP Internals News # 67 - Derik Xdebug talks to himself about a new expression
match
. Read more about the historymatch
in PHP in the post . - Podlodka # 180 - PHP - Release of the legendary podcast Submarine featuring Nikita Popov and me.
Thank you for attention!
If you notice an error or inaccuracy, please let us know in a personal .
Questions and suggestions write to mail or twitter .
More news and comments on the PHP Digest Telegram channel .
Send link
Search links in all digests
β Previous issue: PHP-Digest # 186