Créer un sitemap est plutôt fastidieux : pas d’erreur de syntaxe, il change régulièrement surtout au début, on ne sait pas trop comment ça marche etc. Continue reading “Symfony3 et Dpn XML Sitemap Bundle” »
Category: Symfony
Configuration de wordPress avec nginx, php-fpm et une dose de ssl
Ayant Symfony3 qui tourne bien, j’ai voulu modifier ma configuration de nginx et non tout refaire. Après de nombreux problèmes et de longues recherches, Continue reading “Configuration de wordPress avec nginx, php-fpm et une dose de ssl” »
How to add a twig extension
Creating an extension for twig is very useful and important: access a specific variable anywhere, increase app efficiency by setting up autonomous block etc.
Send emails with Symfony and Mandrill
To send emails, I use Mandrill which is a service by MailChimp. It is a very useful (and powerful) tool which provide you with a smtp server for free until 12k emails / month and a very well designed dashboard.
Price are quite cheap when you need more: http://www.mandrill.com/pricing/
In my Symfony install, I needed to send many emails. So I discovered that a nice bundle exists (isn’t it surprising?). So here is my way to proceed: Continue reading “Send emails with Symfony and Mandrill” »
How to go further after a basic installation of FosUserBundle
In this article, I suppose you have installed FosUserBundle (in composer.json : “friendsofsymfony/user-bundle”: “dev-master”). I also suppose that your symfony project is working (services enabled, security.yml configured, your bundle extends FOSUserBundle etc.)
Continue reading “How to go further after a basic installation of FosUserBundle” »
Some useful doctrine commands
Doctrine is a very powerful tools nevertheless I use it directly only at the beginning of the project and then no more than twice a week (I don’t consider calling Doctrine functions as direct use of it).
So I am always looking for the same commands to always to the same stuff…
Quick reminder for translations with catalogs and Twig
Hi,
I recently had to translate a whole part of my website. Many reasons can conduct you to this need: internationalization, easy access and modification of hard written content, replication of your business in some other sectors etc.
Here are a few tips and structure I use to increase efficiency:
Continue reading “Quick reminder for translations with catalogs and Twig” »
Iptables, the great danger
Hi,
This afternoon I worked on munin (which I won’t document because so many good website exists, GIYF). Nevertheless, iptables is a higher level of difficulty. Why is that? Because you can lock yourself out of your server. No more connection won’t be accepted, the only solution is to restart it in rescue mode… Not fun, can take a long time.