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
Auf dieser Seite können Sie das Online-Video Symfony RESTful API | Create an API from Scratch Using Raw Symfony mit der Dauer online in guter Qualität ansehen, das der Benutzer Dave Hollingworth 01 August 2025 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 6,306 Mal angesehen und es wurde von 194 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!