adeelnawaz/polr-api-bundle
Symfony 4/5 bundle wrapping adeelnawaz/polr-api-client to integrate the Polr URL shortener REST API. Provides a PolrApiService for calling endpoints with DTOs, supports API quota throttling, and throws ApiResponseException on failures.
polr-api-client handles core functionality (auth, rate limiting, etc.).Adopt When:
Look Elsewhere If:
0.1.1 or migrate to Symfony 4+).polr-api-client."This bundle lets us integrate Polr—a self-hosted, privacy-focused URL shortener—into our Symfony app with minimal effort. By leveraging this open-source solution, we avoid third-party dependencies (e.g., Bit.ly) while gaining control over link analytics, branding, and quotas. It’s a low-risk way to add features like custom short links or track campaign performance, aligning with our goals of [data ownership/cost efficiency/compliance]. The trade-off? We’ll need to host Polr ourselves, but the development lift is light (just a Composer install and config)."
*"This is a thin Symfony wrapper around the polr-api-client, so it’s low-risk but requires:
0.1.1 for Symfony 3)..env).
Key benefits:POLR_API_QUOTA to avoid hitting Polr’s limits.PolrApiService anywhere in your app for link creation/analytics.polr-api-client is stable).How can I help you explore Laravel packages today?