fre5h/DoctrineEnumBundle
Fork: 76 Star: 458 (更新于 2024-05-11 11:23:03)
license: MIT
Language: PHP .
📦 Provides support of ENUM type for Doctrine in Symfony applications.
最后发布版本: v10.1.0 ( 2024-03-29 14:46:17)
DoctrineEnumBundle
📦 Provides ENUM type support for Doctrine in Symfony applications.
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 |
---|---|---|---|---|
10.1.* |
>= 8.2 |
>= 7.0 |
>= 2.11 |
Current version |
9.2.* |
>= 8.1 |
>= 6.1 |
>= 2.9 |
Previous version |
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 🎁
- NULL values
- Default value
- Building the form
- Additional methods
- Common types
- Readable ENUM values in templates
- ENUM constants in templates
- ENUM values in templates
- Hook for Doctrine migrations
Contributing 🤝
Read the CONTRIBUTING file.
最近版本更新:(数据更新于 2024-05-18 12:16:38)
2024-03-29 14:46:17 v10.1.0
2023-12-01 19:17:20 v10.0.0
2023-12-01 18:33:51 v9.2.0
2023-06-01 23:47:15 v9.1.0
2022-12-07 15:25:49 v9.0.4
2022-08-27 19:28:59 v9.0.3
2022-08-24 23:51:53 v9.0.2
2022-07-28 22:34:20 v9.0.1
2022-06-07 17:59:01 v9.0.0
2022-06-07 17:41:02 v8.1.2
主题(topics):
bundle, doctrine, doctrine-dbal, enum, php, symfony, symfony-bundle
fre5h/DoctrineEnumBundle同语言 PHP最近更新仓库
2024-05-17 23:51:20 symfony/var-dumper
2024-05-17 23:48:06 symfony/symfony
2024-05-16 06:01:21 PHP-CS-Fixer/PHP-CS-Fixer
2024-05-15 04:34:29 doctrine/DoctrineMigrationsBundle
2024-05-13 18:00:52 snipe/snipe-it
2024-05-10 11:01:12 wp-graphql/wp-graphql