A clever way to implement login history in Symfony

(written by Lawrence Krubner, however indented passages are often quotes)

I have my frustrations with both PHP and Symfony, but every once in a while I read a tutorial like this that really impresses me with the level of intelligence in the Symfony community. This post details 4 different approaches to implementing a system to track the history of user logins, each approach being better than the last. Brilliant.

(You may say I’m biased since they reference my site, but truly, this is clever code.)

Source