Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Sleeper Api Symfony Bundle

Sleeper Api Symfony Bundle Laravel Package

hans-peter-ording/sleeper-api-symfony-bundle

A Symfony bundle that wraps the Sleeper API, giving your app ready-to-use services and configuration for Sleeper fantasy football data. Register the bundle, set your options, and inject the client to fetch leagues, rosters, users, and player information.

View on GitHub
Deep Wiki
Context7

Sleeper API Symfony Bundle integrates the Sleeper API client into Symfony applications, giving you a clean, service-oriented way to access fantasy sports data such as leagues, rosters, users, drafts, and player statistics. It wires the underlying API client into Symfony's dependency injection container, so configuration and HTTP handling stay out of your application code.

Built for Symfony developers who want typed services and minimal setup, the bundle fits naturally into existing projects and follows standard bundle conventions for flexible, testable integrations.

  • Autowired service definitions for immediate use in controllers and services
  • Centralized configuration for API credentials and HTTP options
  • Compatibility with Symfony's DI and environment-based config
  • Lightweight wrapper around the official Sleeper API client
  • Easy to extend or mock in functional tests
Frequently asked questions about Sleeper Api Symfony Bundle
Can I install hans-peter-ording/sleeper-api-symfony-bundle in a Laravel application?
It is a Symfony bundle, not a Laravel package. Composer may install it, but Laravel will not boot the bundle, register its DependencyInjection extension, or parse its Configuration tree. You would need to vendor or extract the API client and DTOs and rewrap them in a Laravel service provider. Treat it as source material, not a drop-in dependency.
What does the Sleeper API Symfony bundle actually provide?
It wraps the Sleeper fantasy football API with ready-made Symfony services and configuration for fetching leagues, users, rosters, drafts, and player data. For a Laravel team, the value is the underlying domain logic such as API calls, mapping, and DTOs, not the Symfony packaging. Confirm the targeted API and endpoints in the source before planning any integration.
How do I configure credentials for the Sleeper API bundle?
In Symfony you would configure it through the bundle's DependencyInjection extension and Configuration tree, typically under config/packages. Laravel has no equivalent bundle config loading, so credentials and endpoint settings would need to move into config/services.php and environment variables. The metadata does not document exact keys, so inspect the Configuration class first.
Does this package support Laravel 10 or Laravel 11?
No, it is built for Symfony's kernel and service container, so Laravel version support is not applicable. There is no service provider, facade, or Laravel-specific configuration. If you port the internals, your Laravel version matters only for the HTTP client, container, and PHP version you target.
Is the Sleeper API Symfony bundle safe to use in production?
Risky as-is for a Laravel app: zero stars, zero dependents, a single maintainer, and a future-dated release of 2026-07-28 that undermines confidence in the registry metadata. The MIT license is clean, but there is no community bug surface or adoption pressure. Vet the source, pin a commit, and wrap any extracted client with your own tests, timeouts, and rate-limit handling.
How much work is it to port this Symfony bundle to Laravel?
It depends on how deeply Symfony types are baked into the internals. Expect to replace HttpClientInterface with Laravel's Http facade, SerializerInterface with your own mapping or a DTO package, and EventDispatcherInterface with Laravel events. The extension class, config tree, and bundle registration are dead weight you discard. If the internals are mostly framework-agnostic it is days; otherwise it can be weeks.
What Sleeper API endpoints and authentication does it use?
The package targets the Sleeper fantasy football API and exposes services for leagues, users, rosters, drafts, and players. The metadata does not specify the auth model, rate limits, or data schema, and the name Sleeper API is ambiguous. Confirm it is the fantasy-sports provider and that you have access, then read the client source before scoping.
Are there Laravel-native alternatives to this Sleeper API bundle?
There is no indication of a maintained Laravel-native Sleeper package in the metadata. A practical alternative is a small in-house client using Laravel's Http facade, a few DTOs, and a queued import job, which is often less work than shimming a Symfony bundle. Search Packagist for framework-agnostic Sleeper clients and check recent commits and dependents.
How do I test a ported Sleeper API client in Laravel?
Use Http::fake() to stub Sleeper responses and assert your DTO mapping, pagination, and error handling without hitting the live API. Cover rate-limit and timeout paths, since the original bundle's behavior there is undocumented. Add a contract test against a recorded fixture so upstream schema changes surface early.
Is the package actively maintained, and is the release date reliable?
The signals are weak: zero stars, zero dependents, a score around 15.6, and a last release dated 2026-07-28, a future date that suggests corrupted or unreliable registry metadata. Check the GitHub commit cadence and issue and pull request history rather than release tags. Until verified, treat maintenance risk as high and avoid depending on it directly.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource
noith/settings