Emre.xyz

php

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.

Read more...

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.

Read more...

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.

Read more...

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.

Read more...

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

Read more...

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 not en. 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

bb.

#errors #php #debug #en