You searched for symfony

  1. 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
  2. StackPHP Explained

    code. This usually makes things much easier to understand. What is the HttpKernelInterface? The HttpKernelInterface can be defined as more than one thing. At its most basic level, it is a PHP interface found inside the Symfony HttpKernel component. But it is more than that. It is a modern
  3. Getting Started with eZ Platform on Vagrant

    for it if DNS servers don’t resolve it) and enjoy! Diving into EZPublish and Symfony at PHPSummerCamp With the installation done, we can finally dive in and build wonderfully complex systems that even the most demanding websites can’t out-demand. It’s important to be patient
  4. Logging with Monolog: From Devtools to Slack

    details about memory peaks, user id, etc. You can check the list of available preprocessors in the documentation. Wrap Up Monolog is one of the best available logging libraries out there, and it’s also integrated into most of the popular frameworks like Symfony, Laravel, Silex, Slim, etc. If you have any comments or questions, you can post them below and I’ll do my best to answer them.
  5. Appserver - a Production-ready PHP-based Server

    been calling for, like Manuel Lemos in his “PHP7 Features and Release Date” blog (see the section about a “Standalone Multi-threading Web Server”) and Fabien Potencier, father of Symfony, in his presentation “My Take on PHP”, where he notes he is also working on such an application server solution
  6. Validating your data with Respect Validation

    Validation is an important aspect of every application’s interaction with data. Instead of reinventing the wheel every time, the community collaborated on some useful packages like Symfony, Laravel, Zend, etc. In this article, we’re going to introduce a lesser known package called Respect
  7. WP API and OAuth - Using WordPress without WordPress

    the keys we got from the WP app: // credentials.php <?php return ; We’ll also need some packages installed: composer require --dev symfony/var-dumper composer require guzzlehttp/guzzle:~5 VarDumper is there to help us debug, and Guzzle 5 is there to help us issue
  8. How to Build Multi-step Forms in Drupal 8

    \SessionManagerInterface; use Drupal\user\PrivateTempStoreFactory; use Symfony\Component\DependencyInjection\ContainerInterface; abstract class MultistepFormBase extends FormBase { /** * @var \Drupal\user\PrivateTempStoreFactory */ protected $tempStoreFactory; /** * @var \Drupal
  9. Versioning: Behind the Scenes

    testing was rough, with people unsure as to what they were looking at. On the back-end, I’m told there were “database issues” that required “database changes”, or something. Firebase v Redis or something? I don’t know. Versioning 232: Bittersweet Symfony Early May, 2015 Back at the drawing
  10. Best PHP Framework for 2015 - SitePoint Survey Results

    51 Symfony2 20 Symfony2 19 Portugal 50 Laravel 12 Laravel 17 It’s an interesting trend to observe. Most English speaking countries favor Laravel, while France is loyal to Symfony - it’s own product. Interestingly, an incredibly large percentage
  11. Turning a Crawled Website into a Search Engine with PHP

    sp_search mkdir public cache template template/twig app composer require swader/diffbot-php-client composer require twig/twig composer require symfony/var-dumper --dev In order, this: installs BowerPHP globally, so we can use it on the entire VM. creates the project’s root folder
  12. User Authentication in Symfony2 with

    authentication mechanism that leverages The code we write can also be found in this small library I created (currently in dev) that you can try out. To install it in your Symfony app, just follow the instructions on GitHub. Dependecies In order to communicate
  13. Use Laravel Contracts to Build a Laravel 5 Twig Package

    template engine called Blade. However, I want to use Symfony Twig as my template engine. Blade already offers the possibility to register your own extensions; check the Twig Bridge for more info. Laravel 5 has a better way to achieve the same goal using Contracts, so let’s create our own
  14. Popular Users per Language and Region with Silex and Github

    of the Silex documentation throughout this tutorial. As you might know, Silex puts its index.php file in the web directory as per Symfony conventions. So, your webroot will actually be ~/Code/silex/web, rather than ~/Code/Laravel/public. Let’s go into the sites section of homestead.yaml and fix
  15. Mastering Composer - Tips and Tricks

    , whenever the autoload file is being generated. This is a little bit slower than generating the default autoloader, and slows down as the project grows. Another useful option might be the cache-files-maxsize - in enormous projects like eZ Publish or Symfony, the cache might get full pretty fast
  16. Record Retrieval and Pagination in Bolt CMS

    Bolt is a lightweight CMS built on Silex with Symfony components that’s fast, easy, and fun to develop with. My recent affinity for Bolt has turned it into my CMS of choice as I make a conscious effort to choose wisely and step away from bloated frameworks. Previously, I gave a very detailed
  17. JavaScript and PHP Libraries Used by WordPress

    Almost all modern software (including platforms such as WordPress) rely on third party libraries. That’s because, as developers, we don’t need to reinvent the wheel. If I had to develop software that uses HTTP abstraction, I might use a package like Symfony HttpKernel or similar. If my software
  18. 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
  19. Symfony2 Pre-registration and Invite System

    We have discussed Symfony 2 development in previous SitePoint articles and we built a clone of my own personal Symfony app (Part 1, 2 and 3). But Symfony 2 is a gigantic framework and there are plenty more topics we can cover. In this article series of two parts, we are going to talk about
  20. Generating PHP Documentation with Sami

    config.php is the file that describes your documentation structure and how the output is rendered. Configuration The configuration file must return an instance of Sami\Sami. It accepts a Symfony\Component\Finder\Finder instance and an array of options. // config/config.php $dir
  21. Inspecting PHP Code Quality with Scrutinizer

    based on your project structure. It recognizes many common frameworks and CMSes like Symfony, Zend, Laravel, Drupal, Magento, or WordPress, and will automatically adjust its analysis to match that particular project. Scrutinizer also allows you to change its behavior through a config file