Home » Article » Symfony

Now-a-days, PHP applications are quite popular among the businesses looking to develop web applications at cost effective price. Not only the enterprises, even the web developers are preferring to use PHP web application frameworks that simplify their tasks and help in efficient and faster development at lesser efforts. Amongst all the PHP frameworks available for development, in the recent times, it’s Symfony framework development that...

Read More

Symfony is a solid framework offering strong foundation for the development of PHP web projects and applications. The developers of this fantastic framework have once again leveraged their Symfony framework expertise to develop an innovative tool for those looking to encapsulate the content managing functionality into their PHP based applications. This is the Symfony’s very own CMF (Content Management Framework). It is a collection of...

Read More

Symfony comes out with a new version every six months. Every version is a feature update to its previous one and hence, one thing here is sure that Symfony gets better and better with every new release. The developers get better and many convenient options for use during Symfony development. Back in November of this year, there came an updated version called Symfony 2.8 which...

Read More

PHP, one of the most popular platforms to build websites and web applications is widely accepted across the world; irrespective of numerous other options available to developers and businesses. PHP has got several frameworks like Cake PHP, Code Igniter, Zend and Yii, to name a few. Out of all these frameworks, Symfony is considered to be one of the best frameworks to develop websites and...

Read More

PHP, one of the best platforms for developing website and applications has been prevailing in the market since quite a long now. Various frameworks keep emerging which helps it make even greater impact and rule in the web market. Symfony is one of the best PHP web application frameworks. These days, a lot of people go for Symfony, as it has got a lot of...

Read More

There is a great deal of PHP Web Frameworks available now-a-days for creating excellent websites and choosing the best PHP framework for custom application development is important as it adds an element of robustness to the project. But when we talk about the most popular PHP frameworks, the first names that comes to our mind is “CakePHP”  and “Symfony Framework”. Undoubtedly, Symfony and CakePHP are both...

Read More

If you want to keep a track of the user’s failed login attempts so that the account can be locked or you want to set the last login date for a user on his or her successful login then Symfony2 will enable several events for authentication. The security.authentication.failure event will be dispatched on failed login and the security.interactive_login event will be dispatched on successful authentication....

Read More

Adding an AJAX login form to a Symfony2 project is quite easy but it covers few things. The first thing is that the Symfony firewall handles authentications by sending a form to the route defined in the apps/config/security.yml as the check path for the firewall. So, if you want to login using AJAX, a form needs to be posted to that route along with few...

Read More

There is no deny that Symfony is a well established and widely used open source web application framework for building enterprise-level applications. Today more ‘n’ more businesses are leveraging from Symfony Development India to get robust and secure web and business applications. In this blog post, we will see how to define a Symfony 2 form type as a service and call them in your controller....

Read More

For automatically creating console commands with Symfony 2, you will need to create a Command directory within your bundle and also create a PHP file with command.php suffix. This will be required for each command that you want to provide. The following example shows how to extend the AcmeDemoBundle to greet you from the command line, create GreetCommand.php // src/Acme/DemoBundle/Command/GreetCommand.php namespace Acme\DemoBundle\Command; use Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; class GreetCommand...

Read More