Nos articles taggués « php »
Symfony Messenger et l’interopérabilité
Le composant Messenger a été mergé dans Symfony 4.1, sorti en mai 2018. Il ajoute une couche d’abstraction entre un producteur de données (publisher) et son consommateur de données (consumer). Symfony est ainsi capable d’envoyer des messages (la donnée) dans un bus, le plus souvent…
Lire la suite de l’article Symfony Messenger et l’interopérabilité
Une introduction au cloud et aux lambdas en PHP
En cette période de confinement, je vous propose de vous évader quelques instants et de partir à la découverte du monde merveilleux du cloud et de démystifier l’utilisation des fonctions en tant que service, notamment grâce aux lambdas d’Amazon. Parce que même si, aujourd’hui, tous…
Lire la suite de l’article Une introduction au cloud et aux lambdas en PHP
What libsodium can do for you? An Introduction to Cryptography in PHP
(Read the 🇫🇷 version here) Cryptography or cryptology is the practice and study of techniques for secure communication in the presence of third parties called adversaries. More generally, cryptography is about constructing and analyzing protocols that prevent third parties or the…
Lire la suite de l’article What libsodium can do for you? An Introduction to Cryptography in PHP
Jane v5.3: Performances, Authentication & OpenAPI 2!
Two months after v5.2 and four months after v5.0, we are releasing v5.3 with focus on three things: Performance Before, generating a really big OpenAPI schema was very long. We even had issues where the generation took more than 40 minutes! Thanks to @lyrixx & @bastnic who took…
Lire la suite de l’article Jane v5.3: Performances, Authentication & OpenAPI 2!
Battle log: a deep dive in Symfony stack in search of optimizations 2/n
This article is the second in a series that explains what we learned and how we discovered new performance improvements. It’s focused on the dev environment. The first article guides us through multiple new optimizations for the prod environment. You should definitely read it first.…
Lire la suite de l’article Battle log: a deep dive in Symfony stack in search of optimizations 2/n
Battle log: a deep dive in Symfony stack in search of optimizations 1/n
My team and I are working on a big project that is becoming bigger and bigger. Split in micro services, each end-user call generates an increasing number of HTTP API calls. Performance was becoming a problem and the Developer eXperience (DX) suffered as a result. Note that we already…
Lire la suite de l’article Battle log: a deep dive in Symfony stack in search of optimizations 1/n
Introducing Docker Starter 2.0
For this first article of the year 2020 on our blog, we wanted to wish you all the best for this coming year! ✨ Six months ago we released our docker-starter. This is a starter-kit for our projects based on Docker, PHP and Nginx. Since then, we have enhanced the project a lot. Here…
UUID generation in PHP
We have been using UUID for years and different ways to generate UUID exist. I prefer the PECL extension over the ramsey/uuid because it’s simpler and more straightforward. Few weeks ago, with Nicolas Grekas we had the idea to port the PECL extension to plain PHP as a Symfony Polyfill.…
PHP 7.4 FFI: What you need to know
(🇫🇷 Lire la version en Français ici) PHP Foreign Function Interface, or FFI for fans, is a PHP extension that allows you to include with ease some externals libraries into your PHP code. That means it’s possible to use C, Go, Rust, etc. shared library directly in PHP without writing…
Lire la suite de l’article PHP 7.4 FFI: What you need to know
PHP 7.4 et FFI, ce qu’il faut retenir
(🇬🇧 Read the english version here) PHP Foreign Function Interface, ou PHP FFI pour les intimes, ou FFI pour les fans, est une extension PHP qui permet d’inclure facilement des bibliothèques externes au sein de PHP. Autrement dit, il est possible d’utiliser directement des librairies…
Lire la suite de l’article PHP 7.4 et FFI, ce qu’il faut retenir
Libsodium pour les nuls, ou la cryptographie en PHP
(Read the 🇬🇧 version here) La cryptographie, plus communément appelé crypto, est une des disciplines de la cryptologie s’attachant à protéger des messages (assurant confidentialité, authenticité et intégrité) en s’aidant souvent de secrets ou clés. via wikipedia Avez-vous déjà eu…
Lire la suite de l’article Libsodium pour les nuls, ou la cryptographie en PHP
Jane 5.0 has been released! 🍾
Jane is a set of libraries to generate models & API clients based on OpenApi specs. It will generate everything you need to use your API such as endpoints and related exceptions if needed. As a reminder, OpenApi Specification is an API description format or API definition language.…
Ce que nous retenons du Forum PHP 2019
À l’occasion de sa 13e édition, l’équipe de JoliCode s’est à nouveau rendue au Forum PHP pour deux jours de partage, de conférences, de veille technique et de papotage ! Comme chaque année, l’équipe de l’AFUP a fait un travail de sélection et d’organisation qui force l’admiration.…
Lire la suite de l’article Ce que nous retenons du Forum PHP 2019
Do you want more PHPStan violations?
Edit 2019–07–08: Good news! PHPStan 0.11.10 includes support for inferring private property type from constructor! https://github.com/phpstan/phpstan/releases/tag/0.11.10: Turn on with inferPrivatePropertyTypeFromConstructor: true We use PHPStan a lot and we love it. Some of us…
Lire la suite de l’article Do you want more PHPStan violations?
Introducing Elastically, our Elastica Ally
Sorry for the pun 😅 In March, I got the chance to share my knowledge about Elasticsearch and PHP with hundreds of developers at Symfony Live Paris. While building this talk, I tried to make sense of all the PHP implementations I came across, either while auditing third party applications…
Lire la suite de l’article Introducing Elastically, our Elastica Ally
Le binaire Symfony à l’usage
Après notre premier article présentant le binaire Symfony, voici enfin la suite ! Nous allons revenir sur le projet où nous l’avons utilisé et vous présenter les détails de cette mise en place. Notre projet 🙌 Pour ce projet, nous avons deux applications Symfony : le front et l’API.…
Find Segfaults in PHP like a boss
A bit of history Sometimes, a segfault happens, but you don’t know where, and your PHP installation does not have tools to find it. Or sometime, you think PHP is hanging, but you don’t know where. You may use xdebug, but you don’t want to click so many times on the « next call »…
Lire la suite de l’article Find Segfaults in PHP like a boss
Dites-nous tout !
Un de nos articles vous a aidé dans votre travail et vous voulez nous remercier ?
Vous avez trouvé une typo ou une erreur ?
N’hésitez pas à nous le faire savoir
en nous envoyant un message