Skip to main content

Getting Started With Symfony 2: Quick Setup

Note: This post covers Symfony 2.5.5, which reached end of life in November 2018. The direct ZIP download and app_dev.php front controller described here were replaced in Symfony 4+. For current Symfony setup, use composer create-project symfony/skeleton my_project — see symfony.com/doc/current/setup.html. This post is preserved for historical reference. If you are a web developer then you might have heard something called as "Symfony". So what is this Symfony? Framework? Language? Tool? or something else? Let's have a quick look on this. What is Symfony? Symfony is nothing but a set of reusable PHP components, a web application framework. Symfony is a leading PHP framework, which has a large user base and used to create websites and web applications. Symfony is basically set of components. Depending on your needs, you can either choose individual component, you can choose set of components or you can go with full framework. Before going to Why Symfony? Let's first see why you should use a Framework?

Displaying Posts From A Category In WordPress

It may happen that you are designing some sort of archive pages or a front page and you want to list all posts belonging to some specific category. In this case you can go for following code.

Git: Delete Last Commit

How to undo a Git commit using git reset --soft, --mixed, or --hard for unpushed commits, and git revert for commits already pushed to a shared remote.