SymfonyCloud: PHP 8 is available right now

The PHP team has just released PHP 8.0 moments ago 👏! I am happy to announce that you can deploy your applications using PHP 8.0 on SymfonyCloud right now 🎉: 1 2 3 4 5 6 7 8 9 10--- a/.symfony.cloud.yaml +++ b/.symfony.cloud.yaml @@ -1,6 +1,6 @@ name: app

-type: php:7.4 +type: php:8.0

runtime: sizing_hints:

While the majority of PHP extensions work right away, some third-party extensions are not yet available and will give an error if you try to deploy with those enabled. Some libraries (like Doctrine) might not be compatible at the moment as well. Thanks to SymfonyCloud environments, you can give it a try without breaking your production: 1 2 3 4$ symfony env:create php-8 $ vim .symfony.cloud.yaml $ git add -u && git commit 'PHP 8 is here!' $ symfony deploy

As for every new version of PHP, developer ergonomics, performance, and security are all improved. One of the most anticipated features is probably the JIT - Just In Time - compilation. The JIT compiler promises some performance improvements. In order to enable it, don’t forget to define the jit_buffer_size PHP setting: 1 2 3 4 5 6 7 8 9 10--- a/.symfony.cloud.yaml +++ b/.symfony.cloud.yaml @@ -21,6 +21,7 @@ runtime: variables: php: opcache.preload: /app/config/preload.php

  • opcache.jit_buffer_size: 100M

    relationships: database: "database:postgresql"

                Sponsor the Symfony project.

http://feedproxy.google.com/~r/symfony/blog/~3/PCUPF5nPV1U/symfonycloud-php-8-is-available-right-now

Creado 4y | 26 nov 2020, 17:20:19


Inicia sesión para agregar comentarios

Otros mensajes en este grupo.

SymfonyOnline June 2025: Automate Everything with Your Personal Army of Robots

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

29 abr 2025, 15:10:03 | Symfony
New in Symfony 7.3: Slug and Twig Constraints

The Validator component provides dozens of constraints ready to use in your applications. In Symfony 7.3, we've added two new constraints to the list.

Slug Constraint

29 abr 2025, 10:30:02 | Symfony
SymfonyOnline June 2025: Multi-Tenantize the Symfony components

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

28 abr 2025, 15:50:10 | Symfony
New in Symfony 7.3: Twig Extension Attributes

Contributed by Jérôme Tamarelle in

28 abr 2025, 8:50:09 | Symfony
A Week of Symfony #956 (April 21–27, 2025)

This week, we kicked off the New in Symfony 7.3 blog series, highlighting all the exciting new features coming in this release. We also unveiled more details about some of the SymfonyOnline June 2025

27 abr 2025, 9:41:08 | Symfony
SymfonyOnline June 2025: How Doctrine Events Ruined My Day(s)

SymfonyOnline June 2025 is almost here, starting in almost 2 months on:

June 10-11: Workshop days. It is possible to attend 1 two-day training or 2 one-day trainings. June 12-13: Online confe

25 abr 2025, 13:40:15 | Symfony
Introducing A Streaming AMQP Transport for Symfony Messenger

Symfony's Messenger component makes it easy to build message-driven applications. However, developers using symfony/amqp-messenger have long faced a limitation: it relies on polling (get()), which can

25 abr 2025, 9:10:02 | Symfony