You searched for symfony

  1. Introduction to Silex - A Symfony Micro-framework

    Silex is a PHP micro-framework based on Symfony components and inspired by the Sinatra Ruby framework. In this article, we are going to get started with the framework and see the how it fits our needs. Installation The best and recommended way to install Silex is through composer
  2. No More var_dump - Introducing Symfony VarDumper!

    Recently, Symfony went from Zend-like bloat and rigidity to extreme decoupling and modularity. With the new Developer Experience initiative, Symfony has done a Laravel-style 180° and dove right into making its components more end-user friendly, its docs more complete, and its AppBundles unbundled
  3. Learn symfony: a Beginner's Tutorial

    With the release of symfony 1.0, it's time for those who haven't tried it yet to see what's inside this beautiful framework. Stable, fully documented, and released under the open-source MIT license, symfony is used by hundreds of web sites, including some very large ones (Yahoo! Bookmarks, with its
  4. Symfony in Drupal 8

    If you are a Drupaler, you must be aware that Drupal 8 is on the way. What you may not know is that it includes a few important Symfony components. Working with Drupal 8.x will give Drupalers an opportunity to become a part of a massive learning curve and is going to tempt them to know more about
  5. How to Deploy Symfony Apps with Capifony

    Say you have a Symfony application. At some point, you would like to deploy it to your server and show it to the world. Of course, you can do it all manually, but these days you can also choose to use a tool like Capifony. If you have developed Ruby applications in the past, you are perhaps
  6. Building an Ad Manager in Symfony 2

    Just this once won’t hurt - I am not going to write about Sass but Symfony. I had to do a little bit of backend at work and ended up with an interesting problem to solve, involving quite a lot of things so I thought it wouldn’t be such a bad idea to write an article about it. But first, let
  7. Building and Processing Forms in Symfony 2

    In this tutorial we will look at two examples of using forms in Symfony 2. In the the first, we will place form elements straight in the View file and then handle the form processing manually in the controller. In the second, we’ll use the Symfony form system to declare forms in an object oriented
  8. Symfony 2 Checklist for Development and Deployment

    In my Building a Personal Web App Head To Toe With Symfony 2 series published on Sitepoint, I have covered some basics in bootstrapping, development and finalizing (on some advanced techniques) to use Symfony 2 to develop a web application. However, due to the length limitation of the series, we
  9. Drupal 8 Hooks and the Symfony Event Dispatcher

    of many Symfony components into Drupal in its 8th version, we are seeing a shift away from many Drupalisms towards more modern PHP architectural decisions. For example, the both loved and hated hook system is getting slowly replaced. Plugins and annotations are taking away much of the need for info
  10. Build your own PHP Framework with Symfony Components

    You’ve probably met Symfony in your PHP career - or have at least heard of it. What you may not know is that Symfony is, at its core, composed of separate libraries called components, which can be reused in any PHP application. For example, the popular PHP framework Laravel was developed using
  11. Symfony Translation: Internationalization Made Easy

    . If no matching translation is found, the original string is returned. Translations are not typically done by programmers. Instead they are done by professional translators. Translators may not have programming knowledge and we may not want to give them code. Luckily, Symfony can use different loaders from
  12. Integrating Polymer/Dart and Symfony - Part 1

    My first four articles for SitePoint are devoted to Symfony (my favorite PHP framework) and Dart (my favorite HTML 5 development tool). In this 2-part series, we are going to look at how to integrate these two powerful tools together, i.e. to run Dart (after compiling to JavaScript) in a Symfony
  13. Building a Web App With Symfony 2: Development

    In Part 1, I have shown you how to set up Symfony 2 and link up the database. We also covered some fundamental concepts of the framework. In this part, we will link things up by creating routes, controllers, entities/repositories, and views to get the site up and running. Routes Our instance
  14. Building a Web App with Symfony 2: Bootstrapping

    Introduction The Symfony PHP Framework is powerful, scalable and flexible. Yet it is considered by many, especially those new to frameworks, to have a very steep learning curve. This is true to a certain extent. At first glance, Models, Views, Controllers, Entities, Repositories, Routing
  15. Understanding Symfony Bundle Configuration and Service Container

    In this post we’ll cover different ways on how to configure Bundles in Symfony2 and how the dependency injection container works with the configuration. The Bundle configuration and Symfony dependency injection container (also known as service container) can be difficult concepts to grasp when
  16. Integrating Polymer/Dart and Symfony - Part 2

    In the previous article, we implemented a Dart widget in our Symfony app. Let's handle the rest now. This might get advanced, so grab a cup of coffee and pay close attention - I recommend you follow along only after completing Part 1! Get around JSONP and display an Object's member
  17. Command line PHP using Symfony Console

    . Nowadays building command line scripts is much easier than it used to be. If you search on Packagist you will find a lot of packages to work with the command line but the one that stands out and is the most commonly used is Symfony/Console. Symfony/Console is a stand alone package that was developed
  18. Building a Web App with Symfony 2: Finalizing

    In Part 1 and Part 2 of this series, I have covered the basics of using Symfony 2 to develop a functioning web site. In this part of the tutorial, I will cover some more advanced techniques and finish the project with pagination, image watermarks and NativeQuery. The code we'll be using
  19. Using BoltCMS to Build a Small Business Website

    templates the way they want, and how they want. On the back-end side of things, custom types and fields give us the freedom to organise things the way we want. Bolt is also built upon Silex with Symfony components, making it stable, powerful, open source, and free. Twig, Silex, and Symfony are all
  20. Symfony2 Registration and Login

    and discarded (like retyped password, a check on the disclaimer). We must have a way to create a “link” between a form and the underlying table, and specify the above requirements. In Symfony, we achieve this by declaring a special form type class associated with an entity. In this case
  21. Symfony2 Console: Getting Started with Console Helpers

    Lately, I’ve been spending a significant amount of time working with the Symfony 2 Console Component in order to process different tasks, especially cronjobs. In this tutorial, I’ll share my experiences and we’ll give some extra love to the console helpers, which provide us with a large collection