symfony

Aug
10
How to deal with large Doctrine datasets - Symfony console command - OutOfMemoryError - PHP Fatal error:  Allowed memory size of * bytes exhausted

How to deal with large Doctrine datasets - Symfony console command - OutOfMemoryError - PHP Fatal error: Allowed memory size of * bytes exhausted

Imagine that you want to import your 5000+ items from database to ElasticSearch and you have restricted memory limits (e.
1 min read
Mar
08
How to set REMOTE_ADDR from HTTP_X_ORIGINAL_FORWARDED_FOR header when going through EZOIC proxy cache

How to set REMOTE_ADDR from HTTP_X_ORIGINAL_FORWARDED_FOR header when going through EZOIC proxy cache

Prerequisites: kubernetes ingressyour varnish proxy cacheSymfony PHP applicationEdit your global Kubernetes Ingress Config Map in namespace ingress-nginx named nginx-configuration  and
1 min read
Oct
16
How to Search across multiple ElasticSearch Indexes with Symfony FOS\ElasticaBundle

How to Search across multiple ElasticSearch Indexes with Symfony FOS\ElasticaBundle

ElasticSearch v6.0 deprecated multiple types in one index. You can read more here: Removal of mapping types How to
3 min read
Mar
05
Resolve not working Symfony ESI/SSI caching

Resolve not working Symfony ESI/SSI caching

If you have done this setup Symfony HttpCache and ESI - Working with Edge Side Includes and your application is
2 min read