I wanna tell you how to build a landing page on Silex framework.
It’s really simple and will take just a few minutes from the start to adding template.
Fist of all we need to create a folder for our project and initialize composer in it (if composer is not installed follow this guide):

Then follow instructions, and when you will be asked a question about adding dependencies, answer “yes”. Add dependencies on silex:

read more

Useful article about how to upgrade PHP 5.4 on Ubuntu 12.04 LTS

Hi everybody,

Today I’ve got a simple task for converting multidimensional array to flatten.
I have a multi array:

And I wanna get array like this:

I’ve done research and found a lot of solutions.
But this one I like more:

Also, I would remove using of foreach, and I found this function:

But that function doesn’t work well in case. So I used foreach as the solution.

Hey, there!
I’ve just created a bundle for loading currency rates from or/and
It is very simple and useful in Symfony2.
read more

For fast deploy your application into other environments you can use useful bundle (and the same in packagist).
read more

Use soap service for getting cbr currency rates:

Для получения курсов необходимо с помощью соап сервиса выполнить запрос:

It necessary to use queue services in high-performance web applications.
RabbitMQ goods for such goals.
oldsound/rabbitmq-bundle bundle helps to connect RabbitMQ to Symfony2.
To set up bundle you should read more

I have a database of cities from around world. I need to get current local time and timezone for each city.
It is possible to get this information using some API ‘s and PHP.
read more