How To Generate PDF File In Symfony

For this tutorial we will use Dompdf as pdf library. Although there are many PDF libraries out there, this is one of the best because is very easy to implement in your project. To generate your first PDF with thi library you will need to create a new folder and inside it we will create the… Continue reading How To Generate PDF File In Symfony

How To Make Sortable Drag and drop Using Doctrine Symfony

In order to implement this functionality you will need a jquery plugin to make the drag and drop functionality to work. For this tutorial I will use jquery ui the sortable plugin. Theoretically we must take the next steps do implement this functionality. Create the list with all posts/list you need to sort. Create a… Continue reading How To Make Sortable Drag and drop Using Doctrine Symfony

How To Use Redis As Session Handler For Ratchet Server – Symfony

In order to make use of the full functionality of ratchet you will need to select a session handle in order to be able to send the current user id in the websocket server. Because you will need in the future to send some information to a specific user. To do that you will have… Continue reading How To Use Redis As Session Handler For Ratchet Server – Symfony

How To Use DAY, MONTH, YEAR Functions In Doctrine Symfony

If you want to use these functions in symfony dotrine you need to know that these functions does not come when you install doctrine. So you will have to install an extension for doctrine in order to know what should do when you insert the code in your repository. To install the extension go to… Continue reading How To Use DAY, MONTH, YEAR Functions In Doctrine Symfony

How To Make Change Password In Symfony

Even if there are a lot of tutorials out there on how to change password in symfony, it took some time to find a nice method to check if the old password written by the user is the same with the one from database. If you will try to encode password and check if the… Continue reading How To Make Change Password In Symfony

How To Activate Cache In Symfony – FilesystemAdapter Symfony

Even if cache documentation exists in symfony website, I have not been able to find a good tutorial for how to activate or implement symfony cache system. So, I tried several methods until succeeded to implement the cache. Anyway I am sure there are other methods you can implement the filesystemadapter but I will show… Continue reading How To Activate Cache In Symfony – FilesystemAdapter Symfony