Weave Code
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

Doctrine Enum Bundle Laravel Package

fresh/doctrine-enum-bundle

Symfony bundle adding ENUM type support to Doctrine ORM/DBAL. Register custom enum types and map them to entity fields for safer, consistent values across databases. Works with modern Symfony/Doctrine versions and common platforms like PostgreSQL, MySQL, SQLite, and MSSQL.

View on GitHub
Deep Wiki
Context7

DoctrineEnumBundle

📦 Provides ENUM type support for Doctrine in Symfony applications.

Scrutinizer Quality Score Build Status CodeCov License Latest Stable Version Total Downloads StyleCI Gitter

Supported platforms 🧐

PostgreSQL SQLite MySQL MSSQL

Installation 🌱

composer req fresh/doctrine-enum-bundle

Choose the version you need
Bundle Version (X.Y.Z) PHP Symfony Doctrine Bundle Comment
12.0.* >= 8.4 >= 7.4 >= 2.12, >= 3.0 Current version
11.2.* >= 8.2 >= 6.4 >= 2.12, >= 3.0 Previous

Check the config/bundles.php file

By default, Symfony Flex will add this bundle to the config/bundles.php file. But in case you ignored contrib-recipe during bundle installation it would not be added. In this case add the bundle manually:

# config/bundles.php

return [
    // Other bundles...
    Fresh\DoctrineEnumBundle\FreshDoctrineEnumBundle::class => ['all' => true],
    // Other bundles...
];

Usage 🧑‍🎓

Features 🎁

Contributing 🤝

Read the CONTRIBUTING file.

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.
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky
spatie/mailcoach-vapor
spatie/laravel-javascript-views