Blog

Symfony 2 – How to Get parent Request in twig embedded controller

When we want to use twig functions like render controller: symfony create a sub-request, with it own params for embedded controller. Sometimes we made have to need data from original Request object (GET/POST/FILES). It’s very simple, and we don’t need to assigned it to variable. In Request obejct there is dedicated method for this: createFromGlobals() […]

How to drop doctrine foreign key in MySQL Database

Sometimes is necessary to drop manually database tables created by Doctrine. Problem begins when we have relations marked as foreign keys in database tables. MySQL don’t let us drop the table until relations exist. Few step how to delete foreign key relations. MySQL Queries We need two query. First to find constraints names. Second to […]

How to setup and use doctrine filters with Symfony 2?

If we want to use some doctrine extensions, it could be necessary to configure filters first. For example soft-deletable (More about extensions here) In your config in yml, you must find doctrine section: This made plugin avaible for use, and enabled by default. If you want to manually decide if filter is used for query, […]

Still not convinced?

Contact Us and tell what You need.

We will prepare a competitive offer and send you examples of our previous projects.

Twitter
  • Tweets not available at this time. Please Try again later
Toys we play with
Get in touch
  • Address:

    Tadeusza Borowskiego 2 / 15B WARSAW, POLAND

  • Email

    contact@nextima.com

  • Phone

    (+48) 501 32 40 41