aporat/scrapecreators-php
A Laravel-ready PHP client for the ScrapeCreators API, offering simple, expressive methods for social media scraping endpoints. Fetch profiles, posts, hashtags, and more from supported platforms with clean, framework-friendly integration.
cache_max_age plus isCached()/cachedAt() let us design features that stay credit-efficient at low volume.creditsCharged() and creditsRemaining() on every response make per-call unit economics observable in-product; we can gate expensive endpoints, surface usage to customers, and model pricing tiers without guesswork.NotFoundException, RestrictedException with isAgeRestricted()/isPrivate(), UnavailableException, InsufficientCreditsException, RateLimitException, etc.) — including classification of HTTP 200 placeholder accounts — lets us build honest empty/restricted states instead of silently broken features.Adopt when:
Look elsewhere / defer when:
Adoption guardrails: wrap the client behind our own adapter/interface so a vendor swap or spec regeneration is contained; instrument credit spend from day one; confirm vendor terms of service and data-usage rights with legal before external-facing features.
To executives: This is a buy-not-build decision that compresses months of scraping-infrastructure work into a single integration. One package unlocks read access to 27 social platforms and ~250 endpoints, letting us ship and validate social-data features this quarter instead of next year. Costs are usage-based and visible per request, so we can price features and cap spend. Risk is contained: it's a 0.1.0 dependency behind our own adapter, so we can validate demand cheaply and revisit build-vs-buy once volume is proven.
To engineering: The package gives us a typed client generated from the vendor's OpenAPI spec, a Laravel service provider with publishable config, and a well-designed exception hierarchy (auth, rate limit, credits, not-found, restricted/private/age-gated, unavailable, invalid request/response) with the response and decoded envelope attached for debugging. Response exposes data(), dot-path get(), array access, and credit/cache metadata, so we get observability for free. Caveats: it's early (0.1.0), the surface regenerates from an external spec, and 200-status placeholders are classified heuristically — we should pin the version, wrap it behind an interface, and add contract tests around the edge cases we depend on.
How can I help you explore Laravel packages today?