Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

SymfonyCasts

The Symfony Micro-Framework

via SymfonyCasts

Overview

NOTE Symfony 4 makes this course deprecated this course, as it is itself a micro framework! In fact, several of the things done in this tutorial were adopted in the core of Symfony. So, stay tuned! Or, watch this tutorial to learn more about the depths of Symfony.

So you love microframeworks like Silex. Yep - me too. Being able to create a single file and immediately code up some routes is awesome.

But Symfony is a big framework, right? Wrong! Symfony can be as small as a single file!

In this tutorial, we'll bootstrap a project using Symfony as a micro-framework: something that looks more like Silex, but with the tools you're used to. This means:

  • Small: A project structure with very few files
  • Simple: Create pages by touching one file
  • Familiar: It's still Symfony :)
  • Powerful: Enable/disable any bundles you need
  • Evolve: Grow from micro to full-sized as your app succeeds

So if your next project is perfect for a micro-framework, you can still use Symfony.

Oh, and thanks to Benjamin Eberlei for his blog post and work - Symfony All The Things (Web) that served as motivation.

Syllabus

  • Bootstrapping Micro-Symfony
  • AppBundle, Routing and Annotations
  • Container, Twig: All Smooth
  • Web Debug Toolbar and Profiler
  • dotenv: Environmental Variables
  • Environments
  • Where's my app/console
  • Logging and Adding other Tools

Taught by

Ryan Weaver and Leanna Pelham

Reviews

Start your review of The Symfony Micro-Framework

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.