diff --git a/composer.json b/composer.json index 36bde61972..3e7edcc9a1 100755 --- a/composer.json +++ b/composer.json @@ -64,7 +64,7 @@ "ext-zip": "*", "ext-zlib": "*", "a2lix/translation-form-bundle": "^3.0", - "antishov/doctrine-extensions-bundle": "~1.4", + "stof/doctrine-extensions-bundle": "~1.4", "api-platform/api-pack": "^1.2", "beberlei/doctrineextensions": "^1.2", "brumann/polyfill-unserialize": "^1.0", diff --git a/config/bundles.php b/config/bundles.php index af63daf70c..e95ae73fad 100644 --- a/config/bundles.php +++ b/config/bundles.php @@ -29,7 +29,6 @@ return [ Cocur\Slugify\Bridge\Symfony\CocurSlugifyBundle::class => ['all' => true], KnpU\OAuth2ClientBundle\KnpUOAuth2ClientBundle::class => ['all' => true], Translation\Bundle\TranslationBundle::class => ['all' => true], - Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true], Nelmio\CorsBundle\NelmioCorsBundle::class => ['all' => true], ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle::class => ['all' => true], Twig\Extra\TwigExtraBundle\TwigExtraBundle::class => ['all' => true], @@ -37,4 +36,5 @@ return [ SymfonyCasts\Bundle\ResetPassword\SymfonyCastsResetPasswordBundle::class => ['all' => true], FOS\CKEditorBundle\FOSCKEditorBundle::class => ['all' => true], Symplify\ConsoleColorDiff\ConsoleColorDiffBundle::class => ['dev' => true, 'test' => true], + Stof\DoctrineExtensionsBundle\StofDoctrineExtensionsBundle::class => ['all' => true], ]; diff --git a/config/packages/stof_doctrine_extensions.yaml b/config/packages/stof_doctrine_extensions.yaml index 61a64ce8aa..26423e9abb 100644 --- a/config/packages/stof_doctrine_extensions.yaml +++ b/config/packages/stof_doctrine_extensions.yaml @@ -1,3 +1,5 @@ +# Read the documentation: https://symfony.com/doc/current/bundles/StofDoctrineExtensionsBundle/index.html +# See the official DoctrineExtensions documentation for more details: https://github.com/Atlantic18/DoctrineExtensions/tree/master/doc/ stof_doctrine_extensions: default_locale: "%locale%" translation_fallback: true @@ -7,3 +9,4 @@ stof_doctrine_extensions: timestampable: true sluggable: true sortable: true +