PHPackages                             neunerlei/lockpick-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. neunerlei/lockpick-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

neunerlei/lockpick-bundle
=========================

A bundle to integrate my lockpick package seamlessly into Symfony

0.0.5(3y ago)0611Apache-2.0PHP

Since Jan 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Neunerlei/lockpick-bundle)[ Packagist](https://packagist.org/packages/neunerlei/lockpick-bundle)[ RSS](/packages/neunerlei-lockpick-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Lock picks for Symfony
======================

[](#lock-picks-for-symfony)

This is a bundle that integrates [neunerlei/lockpick](https://github.com/Neunerlei/lockpick) seamlessly into your Symfony project.

**A word of caution:** If you use this bundle, please make sure you understand the implications and possible issues that might arise from its usage if not done properly.

Installation
------------

[](#installation)

Install this package using composer:

```
composer require neunerlei/lockpick-bundle

```

This bundle was tested against Symfony 5.4 and 6.1.

Configuration
-------------

[](#configuration)

Sadly, because the "class-override" magic digs deep into the system, we can't reliably use the Symfony compliant way of defining a "Configuration" structure. (E.g. when you would want to override framework classes, or because some bundles load the classes already before the configuration has been loaded).

Therefore we provide an alternative way of reliably configuring the class overrides in your symfony application.

For the configuration add the `\Neunerlei\LockpickBundle\ClassOverridesKernelTrait` trait to your applications `Kernel` class; normally located at `App\Kernel`. Now you can override the `boot` method, to register the required overrides in your application:

```
