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
Lib Lock Bundle

Lib Lock Bundle Laravel Package

paysera/lib-lock-bundle

Symfony bundle from Paysera that provides locking utilities for your applications, helping coordinate access to shared resources and prevent race conditions. Integrates with Symfony's service container so you can add distributed or file-based locks to critical code paths with minimal configuration.

View on GitHub
Deep Wiki
Context7

Provides quick integration with Redis based symfony/lock

Frequently asked questions about Lib Lock Bundle
What is paysera/lib-lock-bundle used for?
It is a Symfony bundle that provides quick integration with Redis-based symfony/lock. It helps coordinate access to shared resources and prevent race conditions by adding locking utilities to critical code paths. In Laravel, treat it as a Symfony-oriented package and validate container and configuration compatibility before adopting it.
Can I use paysera/lib-lock-bundle in a Laravel application?
It is built as a Symfony bundle, and Laravel does not natively register Symfony bundles the same way Symfony does. You can install it with Composer and use the underlying lock services, but service container integration and configuration may require manual wiring. Test it in a representative Laravel app and confirm the supported Laravel and PHP versions before relying on it.
How do I install paysera/lib-lock-bundle with Composer?
Install it with composer require paysera/lib-lock-bundle and review the resulting composer.json and lockfile changes. Since 2.2.1 changed dependency requirements, check whether your app already supplies symfony/console and whether it needs symfony/yaml explicitly. Run the update in a branch or lower environment before production.
Does paysera/lib-lock-bundle require Redis?
The package overview describes quick integration with Redis-based symfony/lock, so Redis is the intended lock backend for that integration. Symfony Lock itself can support other stores, but this bundle's stated purpose is Redis-based locking. Verify the package configuration and your installed dependencies if you plan to use file-based or other lock stores.
Which Laravel and PHP versions are supported by paysera/lib-lock-bundle?
The provided context does not list exact Laravel, Symfony, or PHP version constraints, so check the package composer.json and release notes. Validate the package against your Laravel and PHP matrix, especially older Laravel versions where Symfony Console constraints may differ. Treat standalone PHP usage as higher risk than a pure Laravel app.
Why did paysera/lib-lock-bundle 2.2.1 remove symfony/console from production requirements?
Release 2.2.1 reduces runtime coupling to Symfony components and relies on Laravel supplying Symfony Console transitively where needed. That is positive if the package does not expose Symfony Console commands or otherwise require that component at runtime. If you use package-provided CLI commands, smoke test php artisan list and command signatures after upgrading.
Is symfony/yaml still required at runtime for paysera/lib-lock-bundle?
In 2.2.1 symfony/yaml moved to require-dev, which is safe only if production code never references the Symfony Yaml component at runtime. If your app or the package parses YAML at runtime, add symfony/yaml explicitly or pin the package until clarified. Check service providers, config loaders, and command classes for hidden runtime YAML usage.
Will upgrading to paysera/lib-lock-bundle 2.2.1 break my Laravel app?
It is versioned as a patch, but dependency changes can behave like breaking changes for consumers, so the technical risk is medium-low. Run composer update paysera/lib-lock-bundle --with-dependencies in a controlled lockfile change and review the Composer diff. Execute Artisan command smoke tests and YAML runtime path checks, then canary one non-critical environment.
How should I test paysera/lib-lock-bundle before production?
Start in a branch or lower environment and run composer why symfony/console and composer why symfony/yaml before and after the update. Run CI with the new lockfile, execute php artisan list, and test any package-specific CLI workflows. Also exercise production-like code paths that may parse YAML, then canary one non-critical environment before broad rollout.
What are alternatives to paysera/lib-lock-bundle for locking in Laravel?
Laravel provides native atomic locks through its cache system, including Redis drivers, via Cache::lock. You can also use symfony/lock directly if you want Symfony's lock component without this bundle's integration layer. Choose paysera/lib-lock-bundle when its Symfony bundle integration and Redis-based locking match your existing stack.
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package