Загрузка...

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

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

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

‣ Recommended web hosting provider:
https://davehollingworth.net/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-example

Related videos:
‣ Learn Symfony basics: https://youtu.be/i_jgWZItCGI

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

Видео Symfony RESTful API | Create an API from Scratch Using Raw Symfony канала Dave Hollingworth
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять