The objective of this exercise is to understand the fundamental concepts of consuming a REST API with Symfony.
- PHP >=8.2
- Composer
- Symfony CLI
-
Clone the repository:
make sfapi_users
-
Name the repo
-
Composer install
composer install
-
Understanding Basic Concepts of Consuming RESTful APIs with Symfony
- Gain proficiency in interacting with RESTful APIs using Symfony.
- Explore fundamental concepts such as HTTP methods, request/response handling, and authentication.
-
Learning to Use Symfony's HttpClient Component
- Master Symfony's HttpClient component for making HTTP requests.
- Utilize features like request customization, response handling, and error management.
-
Practical Application of Knowledge through Guided Exercises
- Apply acquired knowledge through hands-on exercises and practical examples.
- Implement HTTP requests, handle responses, and integrate with external APIs.
-
Learning API Platform to Create My Own API
- Gain proficiency in creating custom APIs using API Platform in Symfony.
- Implement RESTful endpoints, manage data serialization, and integrate with Symfony ecosystem tools.
- Symfony Framework
- Composer (PHP dependency management)
- API Platform
- Symfony's HttpClient
- Database (MySQL)
- HTML, CSS, JavaScript (for user interface)