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

3.0.0 2026-02-07 17:00 UTC

README

This bundle integrates the symfony/lock capabilities into kernel.controller events.

CI CI Code Quality Packagist

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.