Tagi

#PHP

31 Articles

How to Mock HTTP Requests in PHP Tests
· 9 min

How to Mock HTTP Requests in PHP Tests

Learn to mock HTTP requests in PHP tests with Guzzle MockHandler and Laravel Http::fake for fast, deterministic, offline test suites.

Defending Against Prompt Injection
· 12 min

Defending Against Prompt Injection

Why 'ignore malicious instructions' never works, and which defenses actually reduce the blast radius of prompt injection in LLM apps.

Blog