Join Justin Yost for an in-depth discussion in this video What is PSR-7?, part of Consuming RESTful APIs in PHP with Guzzle.
- [Instructor] This next chapter is going to cover PSR-7…and specifically its use with Guzzle.…So what is PSR-7?…PSR-7 stands for PHP Standards Recommendations,…in this case, number seven.…So who is making these PHP Standards Recommendations?…Those are made by the PHP-FIG,…or the PHP Framework Interop Group.…PHP-FIG?…The PHP-FIG, broadly speaking,…can be considered a standards body for the end users…of PHP tools and frameworks.…
So, not the internal PHP core development team, rather,…those people using PHP on a daily basis.…Also, since these aren't standards pushed…by the PHP core team, you don't have to use them…if you don't want to.…The PHP-FIG creates and makes…these Standard Recommendations.…These Standard Recommendations are designed to enable…better collaboration across PHP tools and frameworks.…PSR-7 is just simply one of these.…
In essence, these PHP Standards Recommendations are designed…to make it easier for you to move code from one framework…or from one tool, to another tool or another framework.…PSR-7 defines a standard interface for HTTP messages.…
- Installing Guzzle
- Sending basic requests
- Sending asynchronous requests
- Sending concurrent requests
- Sending query data
- Sending request data
- Advanced Guzzle request options
- Reviewing basic Guzzle responses
- Processing response headers
- Reviewing PSR-7 requests, responses, bodies, and headers
Skill Level Intermediate
PHP: Clean URLs on Apache Serverwith David Powers1h 35m Intermediate
PHP: Managing Persistent Sessionswith David Powers2h 41m Intermediate
1. Guzzle Basics
2. Requests with Guzzle
3. Responses with Guzzle
4. Guzzle and PSR-7
5. Testing and Guzzle
Next steps1m 12s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.