While it's sometimes fun to imagine Laravel and Symfony locked in battle, the reality is that Laravel leverages a number of excellent Symfony components. In this series, one by one, we'll review a variety of these very components.
The finder component, with its perfectly intuitive API, is easily one of my favorite Symfony offerings. When you need to fetch a set of files or directories, based upon file type, creation date, file contents, and more, this component is definitely up for the job.
In this episode, we'll quickly review Symfony's VarDumper component, which, again, Laravel leverages behind the scenes. As you'll see, it provides significantly better output when dumping variables to the page.
Laravel heavily leverages Symfony's event dispatcher component. This component is a perfect fit for the situations when you want to decouple your code, make an announcement to the rest of your application, and then respond to that announcement in any number of ways.
*Series still in development. Check back often for updates.
The most concise screencasts for the
working developer, updated daily.