#guzzle — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #guzzle, aggregated by home.social.
-
📙 Mock Guzzle Requests in Functional Tests
Functional tests won't mock single implementations. But code often interacts with external systems by sending requests, e.g. via Guzzle.
This blog post explains our solution which is based on Guzzle Docs and Susis Blog post on how to mock Guzzle Client implementation within Unit Tests.
➡️ https://daniel-siepmann.de/mock-guzzle-requests-in-functional-tests.html
-
Параллельное выполнение запросов PHP SOAP client
Статья о реализации параллельных SOAP запросов в PHP с использованием кастомного HTTP транспорта и Guzzle promises
-
How you can achieve some level of async processing in PHP using Symfony HTTP Client, Guzzle or cURL.
I published a video on a small refactoring on our own @Tideways codebase to use parallel HTTP requests to reduce time spent talking to a microservice.
-
On this day in 2009, history was made when Satoshi Nakamoto added #gravy to the #blockchain. In the decade and a half since, global #gravy enthusiasts can rest assured knowing that the #gravy they #guzzle is authenticated by a trusted source.
-
If you parse a php array to a json for a request, and you need something like a empty object in json, i.e "authenticationFlowBindingOverrides" => {}; do not forget to declare it in php with "authenticationFlowBindingOverrides" => (object) [], or it ends in json "authenticationFlowBindingOverrides" => []. Your Server will respond with "Cannot parse the JSON" and you: "WTF it's the same" and the server: "BUT I CAN'T UNDERSTAND!", and you "EAT THAT NOW!" and the server "500 internal error".#guzzle
-
@knowattitude @LukeBornheimer #energy is something one needs to #sip from #motherNature not #guzzle like a #bong
-
Optimizing HTTP Request Performance in #Laravel Applications 🔄
🔋 #Octane enables connection reuse across multiple requests by maintaining booted application state
🔗 Static #Guzzle client implementation reduces connection setup overhead by 90%
⚡️ Benchmark results show response time drop from 293ms to 32ms for subsequent API calls
🛠️ Solution works for both regular requests and #PHP queue workers in production
💻 Implementation requires minimal code changes using static variable storage
Learn more: https://aaronfrancis.com/2024/make-5x-faster-outbound-requests-in-laravel-192e8e98
-
Postando no Blue Sky com #PHP e #Guzzle:
https://github.com/galvao-eti/bsky-post -
Took the time to package up my #PHP api toolkit, which I've developed in order to more easily create testable integrations against remote APIs. It's really nifty, and supports mocking manifests and response queues. Check it out!
https://github.com/nsrosenqvist/php-api-toolkit
#programming #guzzle #mock -
the developers of guzzle are the most beautiful kind hearted people on the face of the planet and i will love them until the end of time.
gaze upon this thing of beauty and weep with joy for all its glory.
https://docs.guzzlephp.org/en/latest/testing.html
let us give thanks and praise ❤️
-
Weitere Sicherheitslecks in der Guzzle-Bibliothek ermöglichen Angreifern, verwundbare Drupal-Installationen zu kompromittieren. Updates dichten die Lücken ab.
Update installieren: Drupal-Lücke erlaubt abermals Website-Übernahme -
Eine Drittherstellerbibliothek reißt Sicherheitslücken in das CMS Drupal. Die US-amerikanische Cyber-Sicherheitsbehörde CISA rät zur Aktualisierung.
Content Management System: CISA warnt vor Sicherheitslücke in Drupal -
Mit neuen Versionen schließt das Drupal-Projekt eine Sicherheitslücke, durch die Angreifer Kontrolle über ein betroffenes System übernehmen könnten.
CMS: Angreifer könnten in Drupal Kontrolle übernehmen