ixarlie / mutex-bundle
A Symfony bundle for Mutex implementation for PHP
Installs: 29 137
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 1
Open Issues: 0
Type:symfony-bundle
pkg:composer/ixarlie/mutex-bundle
Requires
- php: ^8.1
- symfony/config: ^6.4 || ^7.4
- symfony/dependency-injection: ^6.4 || ^7.4
- symfony/event-dispatcher: ^6.4 || ^7.4
- symfony/http-foundation: ^6.4 || ^7.4
- symfony/http-kernel: ^6.4 || ^7.4
- symfony/lock: ^6.4 || ^7.4
Requires (Dev)
- nunomaduro/phpinsights: ^2.13
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.1
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^10.5
- roave/security-advisories: dev-latest
- symfony/security-core: ^6.4 || ^7.4
README
This bundle integrates the symfony/lock capabilities into kernel.controller events.
Prerequisites
The IXarlieMutexBundle has the following requirements:
- PHP 8.1+
- Symfony 6.4 or Symfony 7.4
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
composer require ixarlie/mutex-bundle
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the config/bundles.php file of your project:
// config/bundles.php return [ // ... IXarlie\MutexBundle\IXarlieMutexBundle::class => ['all' => true], ];
Step 3: Configure the Bundle
# config/packages/i_xarlie_mutex.yaml i_xarlie_mutex: # Add the Symfony lock factories services id factories: - 'lock.default.factory'
Documentation
License
This bundle is under the MIT license. See the complete license in the bundle.