Install
$ agentstack add skill-aaronflorey-agent-skills-php-saloon ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
php-saloon
Use this skill when building or debugging PHP API integrations and SDKs with Saloon, including connectors, requests, authentication, request bodies, testing, pagination, Laravel integration, and plugin workflows.
Rules
Standalone API Clients
- Start with
references/standalone-sdk-guidance.mdandreferences/building-sdks.md. - Build the SDK around a Saloon
Connector, and keep it easy to expand with resource classes, request classes, and strongly typed DTOs. - Always use strongly typed DTOs for responses. Prefer
github.com/Crell/Serdefor response DTO serialization. - If a request needs more than 2 or 3 parameters, or a DTO materially improves DX, use a typed DTO instead of a long parameter list.
- Everything must be strongly typed. Follow the nearby
php-proskill for PHP typing expectations when it is available. - Add docblocks anywhere generics are required.
- If the API supports authentication, add it. Let developers pass strongly typed auth details instead of loose arrays.
- Always support pagination if the API supports it.
- Always add rate limiting.
- Support caching as an optional dependency, and let developers pass their own cache implementation.
- Let developers register their own middleware.
- Add custom exceptions, with a base SDK exception plus specific exceptions for common failures.
- Put the request and response on exceptions so developers can inspect them.
- Always write tests without hitting the real API.
Laravel Support
- Keep Laravel support optional and isolated in its own namespace.
- Add the Laravel plugin as an optional dependency.
- Implement a facade and config.
- Auto-wire the SDK through a wrapper class that applies optional concerns like auth, caching, and middleware composition.
- Use
spatie/laravel-package-toolsfor package wiring.
References
- Read
references/index.mdfor the full page-by-page map. - Read
references/standalone-sdk-guidance.mdbefore designing a standalone client or package. - Read
references/connectors.md,references/requests.md, andreferences/sending-requests.mdbefore writing core Saloon code. - Read
references/data-transfer-objects.md,references/middleware.md,references/building-sdks.md, andreferences/laravel-integration.mdbefore building an SDK package. - Read
references/testing.md,references/handling-failures.md, andreferences/handling-rate-limits.mdbefore shipping production integrations.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: aaronflorey
- Source: aaronflorey/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.