YoVDO

The Symfony Micro-Framework

Offered By: SymfonyCasts

Tags

Symfony Courses Routing Courses Twig Courses

Course Description

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

Related Courses

API Platform 3 Part 3: Custom Resources
SymfonyCasts
API Platform 3 Part 2: Security for your Treasures
SymfonyCasts
Dependency Injection and the art of services and containers
SymfonyCasts
Mastering Doctrine Relations
SymfonyCasts
EasyAdmin! For an Awesomely Powerful Admin Area
SymfonyCasts