News
Aggregated news about Symfony
Florent Destremau
·
I recently needed to create a user creation form, where I needed to fill in attributes. These attributes are entities in their own right and should be able to be created on the fly...
Florent Destremau
·
Utiliser Symfony Autocomplete pour créer des entités à la volée dans un formulaire
J'ai récemment eu besoin de créer un formulaire de création d'utilisateur, où je devais remplir des attributs. Ces attributs sont des entités à part entière et devaient...
Swag Industries
·
DNS over HTTPS on macOS
Improve your privacy by using DNS over HTTPS. Look up hostnames privately and avoid giving too much info to your ISP. This is a tutorial for dnscrypt proxy on macOS.
The Strangebuzz PHP/Symfony blog
·
Introducing the MicroSymfony application template
In this post, I introduce the MicroSymfony application template, which results from several ideas I already discussed in a previous post: "Initializing your Symfony project with...
Swag Industries
·
Install immich in three steps
Quick tutorial to run immich.app, the free and open source google photos alternative. This article is intended to those who don't have much experience using docker. Follow these...
Swag Industries
·
Simple webdav server with sftpgo, docker and traefik
If you end up on this page, it's maybe because you asked yourself the same as me: how to make a simple webdav server running in a docker, routed by traefik. Maybe just like me...
The Strangebuzz PHP/Symfony blog
·
Using Symfony forms with PHP typed properties
In this post, we see how to use Symfony forms with PHP typed properties and non-nullable one. Let's see the problems that can occur and how to handle them.
mon-code.net
·
Protect your application with Symfony rate limiter component
Brut force or enumeration attack are not limited to login form. An easy way to fix this is to rate limit usage of your application. There are many solution out there to achieve that,...
The Strangebuzz PHP/Symfony blog
·
Using PHP enumerations with your Symfony workflows
This post shows how to use PHP enumerations with your Symfony workflows. Let's take advantage of this new PHP feature to clean up and improve all the workflow-related code.
Swag Industries
·
Upgrade docker-compose installation of Gitlab
If you are using a standard installation of Gitlab with Docker, it means that you are using the Gitlab installation. And it's excellent!What is not that great however is that...
mon-code.net
·
Index document in Elasticsearch using PHP library: elasticsearch-php
In previous post, I show how to manage indices in Elasticsearch using elasticsearch-php library. In this post, I will show how to index document with this library.
mon-code.net
·
Manage Elasticsearch indices with elasticsearch-php library
I already wrote on this blog about elasticsearch-php library maintained by Elastic, the firm that created Elasticsearch. It's my first choice when I need to add Elasticsearch...
mon-code.net
·
Using Behat to write functional test of a Symfony command
Behat is a well known test behavior framework, used on many project. I always used it to validate webpage or API behavior. In this blog post, I will show you how to setup Behat to...
The Strangebuzz PHP/Symfony blog
·
Replacing manual API endpoints with API Platform 3 in a Symfony application
In this post, we rewrite a previous article that used API Platform 2.6 to use the new major version of API Platform 3.
The Strangebuzz PHP/Symfony blog
·
Validating your data fixtures with the Alice Symfony bundle
This post shows how to validate data fixtures with the Alice Symfony bundle before inserting them into the database. It's essential, as you could have invalid data otherwise in...
The Strangebuzz PHP/Symfony blog
·
Using PHP 8.1 enumerations in a Symfony project
This post shows how to use PHP 8.1 enumerations in a Symfony project. We review the different steps to use this new PHP 8.1 useful feature in different parts of a Symfony application.
Swag Industries
·
Behat tutorial part 2: testing Symfony 6 application
This tutorial will help you add functional testing (end-to-end testing or E2E testing) to a Symfony web application or Symfony API with behat.
Swag Industries
·
Behat tutorial part 1: the basics
Learn how to use behat, starting from the ground: this article shows you how to write a super simple behat test (by testing the command ls).
mon-code.net
·
Managing parentheses with the Doctrine 2 ORM QueryBuilder
To change a small snippet on Doctrine 2 ORM to learn how to handle parentheses in the WHERE clause of an SQL query.
The Strangebuzz PHP/Symfony blog
·
Upgrading PHP with the ondrej/php repository on an Ubuntu server
This post shows how to upgrade PHP with the ondrej/php repository on an Ubuntu server, step by step, to avoid forgetting something.