Doctrine is well-known ORM for php applications, especially apps which uses #symfony framework. I like to use symfony when i need to write a php application in all scale.

Doctrine is fittest ORM for sql operation in #PHP ecosystem in my opinion. I want to talk about writing custom #dql functions for doctrine.


For instance, you need to write a search page for your last project, and it is not big enough to use an external search engine. Still, you want to use some powerful text searching features. You are brilliant if you preferred PostgreSQL as your database. Because PostgreSQL has very, very powerful search capabilities. I want to share some of them with you.


Symfony nedir? Nasıl kurulur? Nasıl çalıştırılır? Nasıl başlanır?

PHP ile kullanılabilir en gelişmiş web framework'ü olan Symfony'ye giriş yaparak, umarım devamını da getirerek, Symfony için ücretsiz içerikler üretmeye çalışacağım. Yeni içeriklerden haberdar olmak için, abone olabilirsiniz. Ayrıca beni twitter veya github'da takip etmek için aşağıdaki bağlantıları kullanabilirsiniz.


You need to use a Voter for workflow entity for managing access policies when you use the Workflow component. Workflow component supports access policies with guard option, but the documentation won't point out how to get the subject variable for a voter class.


Composer is an installer and a package management tool. So please stop writing build scripts for Composer, building anything inside your package folder.

Last few days, I try to deploy a Symfony project with Nixops to Google Cloud. I found the composer2nix package after some research.


When you develop an API client with PHP, you would need data mapper for mapping data from API to an object.


Sometimes you get an error like that:

container extension liip_imagine not registered

You double-checked all configurations and you are absolutely sure nothing is wrong.

But code not works, why?

Because Php can't convert i to I if os language is tr_TR. Your code searches Liipİmagine and can't find that. Change os's lang code to en_US.UTF-8 for fix that.

Or add this line to .bashrc or .profile file.

export LANG=en_US.UTF-8


#errors #php #debug #en