Description
In this course, you will learn:
- Create a new (small!) Symfony app.
- Set up a local web server using the Symfony binaries.
- Get your editor (PHPStorm) and plugins ready for Symfony.
- Dive into Symfony Flex and the "recipes" system.
- Add some third-party packages and bundles.
- Routes, Controllers, and Responses!
- The powerful bin/console tool
- Head first into Twig and templating.
- Your new favorite debugging tool is the web debug toolbar.
- Simple but powerful CSS and JS setup with AssetMapper!
- Install and run Tailwind CSS.
- Intro to Stimulus and Turbo for JavaScript, with an SPA (single page app) vibe.
- Create a JSON API endpoint.
- All-important "service objects": a quick tour of how to use and create them.
Syllabus:
- Setting up our Symfony App
- Getting to Know our Tiny Project
- Routes, Controllers & Responses
- Magical Flex Recipes
- Twig & Templates
- Twig Template Inheritance
- Debugging with the Amazing Profiler
- Creating JSON API Endpoints
- Services: The Backbone of Everything
- Creating your own Service
- Fancier Routes: Requirements, Wildcards, and More
- Generating URLs
- CSS & JavaScript with Asset Mapper
- Tailwind CSS
- Twig Partials & for Loops
- PHP Enums
- Smart Model Methods & Making the Design Dynamic
- Stimulus: Writing Pro JavaScript
- Turbo: Your Single Page App
- Maker Bundle: Let's Generate Some Code!