PHP Digest # 191 (19. Oktober - 2. November 2020)

Foto: Valery Gorbatschow ( PHP Krasnodar )



Neue Auswahl mit Links zu Nachrichten und Materialien. In der Version: PHP 8.0 RC 3 und Videobewertungen neuer Funktionen, Composer 2, Abschluss der Faker-Entwicklung (jetzt in einer neuen Organisation), zwei neue RFCs fĂŒr PHP 8.1, ein Teil nĂŒtzlicher Tools, Artikel und Videos aus frĂŒheren Meetups.



Viel Spaß beim Lesen!





Nachrichten und Veröffentlichungen



  • PHP 8.0 RC 3 — - . RC 4 12 26 .



    PHP 8:

    • Video Spatie. YouTube.
    • Marcel Pociot. : habr PHP 8 â€”   .
    • Video Marcel Pociot BeyondCode.
    • Larry Garfield: Weak maps, FFI, JIT.
    • PHP 8.0 .
  • 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 — .
  • habr Laravel– (26 – 1 2020)
  • Video Laravel Worldwide Meetup #4: — Ryan Chandler «GitHub Actions Laravel », Liam Hammett « ».
  • Video 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.
  • habr PHP — 5.6 8.0 ( 1), ( 2).
  • habr Content-Type: nginx + php-fpm.


/



  • Audio- SDCast #124 — , Codeception & CodeceptJS.
  • Video WeakReference & WeakMap / — , .
  • Video :

    • Escaping from OOP boundaries — lisachenko/z-engine.
    • , — NIXMultiConf #4
    • PHP ( , PHP Russia).
    • : PHP ( , Yii).
    • PHP4 PHP7 ( , Skyeng).
    • PHP Go ( , .).
    • In 20 Minuten von Doctrine ORM zu CQRS (Dmitry Simushev, Raiffeisenbank) .
    • Treffen der Uljanowsk-PHP-Community : Microservices, Autodeploy, Legacy und interne Sprache.
    • Berichte aus der Samara PHP-Community : Arbeiten mit Zeitzonen, DDD und einem einheitlichen Fehlerbehandlungsformat.







Wenn Sie einen Fehler oder eine Ungenauigkeit bemerken, teilen Sie uns dies bitte persönlich mit .

Weitere Neuigkeiten und Kommentare zum PHP Digest Telegram-Kanal .



Link senden

Links in allen Digests suchen

← Vorherige Ausgabe: PHP-Digest № 190




All Articles