Fabien Potencier

Week 1 March 21, 2020

First week of confinement.

Symfony 4: Performance out of the Box December 11, 2017

What about Symfony 4 performance? We worked on specific performance improvements for Symfony 4, but several non-performance related core changes help with performance as well.

Symfony 4: A quick Demo May 2, 2017

Eager to test Symfony 4. At least, the current preview version? Let’s do it now.

Symfony 4: Directory Structure April 10, 2017

Symfony 4 has a slightly reworked directory structure. Incremental adjustments to support new features and best practices.

Symfony 4: Best Practices April 7, 2017

Any major version of a project is an opportunity to revisit its best practices. Modernizing them. Adapting them to the project’s new features. Symfony 4 is no exception.

The Symfony Trademark March 14, 2017

Symfony is a trademark and I’m trying to protect the brand with a trademark policy. Why?

"Create your Own Framework" Series Update July 5, 2015

Three years ago, I published a series of articles about how to create a framework on top of the Symfony components. An updated version is now available.

Signing Project Releases August 5, 2014

About a year ago, I started to sign all my Open-Source project releases. Here is how you verify the integrity of what you’ve installed in your project.

Why Symfony? September 7, 2012

Choosing a PHP framework is not easy. Why would you choose Symfony over framework X?

What is Symfony2? October 25, 2011

Last week, I held a keynote presentation about Symfony2 at the Symfony Day conference in Cologne. Many people asked me for the slides, but they were quite empty and not that useful. This blog post is more or less what I’ve said during the first part of the talk.

The PHP Ternary Operator: Fast or not? July 16, 2011

People like micro-optimizations. They are easy to understand, easy to apply… and useless. But some time ago, while reviewing pull requests for Twig, I read an interesting discussion about the performance of the ternary operator in PHP. Here is what I learned.

Pragmatism over Theory: Protected vs Private March 29, 2011

I often favor pragmatism over theory; probably because programming is how I earn a living but also because I don’t have any computer science degree and what I know I’ve learned from my experience.

Find your Files April 22, 2010

How do you find files and directories with PHP? Do you use Iterators? If not, you probably should… or keep reading for a better and simpler way.

The state of YAML in PHP December 21, 2009

My first exposure to YAML was in 2001, back in the days when I was mainly working with Perl. When I started to use PHP at the end of 2004, one of the first thing that bothered me immediately was the poor support for YAML.

2009 Conferences Wrap-up December 15, 2009

This year, I traveled in 7 countries for PHP conferences, giving a total of 12 talks. It has been a very exiting year of conferences for me.

Pirum, the Simple PEAR Channel Server Manager November 28, 2009

Some weeks ago during the Zend Conference, I quietly released Pirum, a simple PEAR channel server manager. As some people talk about it on “social networks”, I thought I should write an official announcement on my blog to explain where I come from.

My first Zend Conference was a blast October 24, 2009

This was my first Zend Conference, and I must say I had a great time there. The organization was top notch, there were plenty of good sessions, and the unconference topics proved to be very interesting.

Templating engines in PHP - Follow-Up October 9, 2009

My post about template engines in PHP had now more than 70 comments, and counting. This follow-up tries to answer the most asked questions.

Templating Engines in PHP October 7, 2009

So, you think PHP is a templating engine? So did I… for a very long time. But recently, I changed my mind. Here is why.

Swift Mailer Takeover September 16, 2009

As you might have noticed, I’m the new project manager of Swift Mailer, a powerful mailing library for PHP.

Developers should be Artists August 25, 2009

During my holidays, I took the chance to step back a little and think about my day-to-day work. In this post, I try to explain why hacking is really an art.

Upcoming conferences August 24, 2009

During fall, I will speak at several conferences: the Japan PHP conference in Japan, the Zend PHP conference in the USA, the Forum PHP in France, and the PHP International Conference in Germany.

Tweeting from PHP June 14, 2009

Twitter is everywhere nowadays. Odds are eventually you will want to tweet from PHP. No need to use one of the numerous PHP Twitter libraries, as tweeting is as simple as using the PHP built-in file_get_contents() function.

Quick SSH Tip June 9, 2009

If you need to regularly connect to a lot of different servers like I do, you will probably enjoy this tip!

What for PHP6? June 7, 2009

PHP 5.3 is just around the corner with a lot of great new features. But what for PHP 6?

Symfony Service Container: The Need for Speed April 2, 2009

During the first five articles of this series on Dependency Injection, we have progressively introduced the main concepts behind this simple and useful design pattern. In this last article, we will see how to use some dumpers to have outstanding performance.

Symfony Service Container: Using XML or YAML to describe Services April 1, 2009

With the last article on Dependency Injection, you learned how to describe services with PHP code by using the sfServiceContainerBuilder class. Today, with the help of service loaders and dumpers, you will learn how to use XML or YAML to describe your services.

Symfony Service Container: Using a Builder to create Services March 31, 2009

In the previous article on Dependency Injection, you learned how to use the sfServiceContainer class to provide a more appealing interface to your service containers. In this article, we will go one step further and learn how to leverage the sfServiceContainerBuilder class to describe services and their configuration in pure PHP code.

Introduction to the Symfony Service Container March 30, 2009

Until now in this series on Dependency Injection, we have talked about general concepts. These two introductory articles were important to better understand the implementation we will talk about in this article and in the following ones. It is now time to dive into the Symfony 2 service container implementation.

Do you need a Dependency Injection Container? March 28, 2009

In the first installment of this series on Dependency Injection, I have tried to give concrete web examples of Dependency Injection in action. Today, I will talk about Dependency Injection Containers.

What is Dependency Injection? March 26, 2009

This article is the first of a series on Dependency Injection in general and the implementation of a Dependency Injection Container in PHP.

Short URLs March 6, 2009

Websites like Twitter makes URL shortener services a must. My main concern with URL shortening is that you loose all the meaning embedded in the URLs. I wanted a shortener URL service that gives short URLs, but also keep some sort of meaningful information about the original URL.

print vs echo, which one is faster? February 4, 2009

As probably many of you, I am tired to read blog posts about non-sense micro-optimizations like replacing print by echo, ++$i by $i++, or double quotes by single quotes. Why? Because 99.999999% of the time, you don’t care. Why? Because 99.99% of the time, you’d better install a PHP accelerator like APC, or add these missing indexes on some database columns, or try to avoid those 1000 database requests per page.

Getting information from SVN with PHP February 3, 2009

Last year, I deployed a new tool to manage symfony plugins. The first goal of this tool was to simplify the process of contributing new plugins. It proved to be very successful, and I had a good feeling that the plugin creation rate was rising since then. And yesterday, I wanted to have hard numbers to back me up.

About January 1, 0001

You are reading a blog about web technologies. It's written by Fabien Potencier — fabpot, the founder of , , and the project. My Open-Source Projects Symfony Twig PHP Coding Standards Fixer Pimple ... and many more on fabpot , symfony , and FriendsOfPHP Some older Open-Source Projects Silex SwiftMailer Goutte Sismo My PGP Key My fingerprint: DD4E C589 15FF 888A 8A3D D898 EB8A A69A 566C 0795