Symfony RESTful API | Create an API from Scratch Using Raw Symfony

Published: 01 August 2025
on channel: Dave Hollingworth
6,306
194

Learn how to create a RESTful API in the Symfony PHP framework.

‣ Please consider supporting my channel: ☕ https://ko-fi.com/davehollingworth

🌐 Recommended host: https://davehollingworth.com/hosting

In this project-based tutorial, code along with the instructor to create a RESTful API in plain Symfony.

Topics covered:
• Routing
• Validation
• Storing records in the database
• Exception handling

Source code:
‣ https://github.com/daveh/symfony-api-...

Related videos:
‣ Learn Symfony basics:    • Learn Symfony in 1 Hour  

00:00:00 Introduction
00:00:39 Create new application
00:01:14 Install ORM package
00:01:43 Configure database
00:02:08 Install maker package
00:02:24 Generate entity class
00:03:27 Generate and run migration
00:03:41 Generate controller
00:05:02 Run local web server
00:06:06 Make first API request
00:06:35 Return database data
00:07:43 Add fixtures
00:10:26 Install and use serialiser
00:13:43 Add show endpoint
00:14:46 Add create endpoint
00:17:25 Validation
00:19:50 Add update endpoint
00:21:37 Add delete endpoint
00:24:10 Add exception listener
00:26:44 Conclusion

#PHP #symfony #api #rest


On this page of the site you can watch the video online Symfony RESTful API | Create an API from Scratch Using Raw Symfony with a duration of online in good quality, which was uploaded by the user Dave Hollingworth 01 August 2025, share the link with friends and acquaintances, this video has already been watched 6,306 times on youtube and it was liked by 194 viewers. Enjoy your viewing!