fre5h/DoctrineEnumBundle
Fork: 75 Star: 460 (更新于 2024-11-19 07:55:41)
license: MIT
Language: PHP .
📦 Provides support of ENUM type for Doctrine in Symfony applications.
最后发布版本: v11.0.1 ( 2024-08-16 17:15:22)
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 |
---|---|---|---|---|
11.0.* |
>= 8.2 |
>= 7.0 |
>= 2.12 |
Current version |
10.1.* |
>= 8.2 |
>= 7.0 |
>= 2.11 |
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 🎁
- 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-10-04 01:01:53)
2024-08-16 17:15:22 v11.0.1
2024-05-31 21:13:51 v11.0.0
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
主题(topics):
bundle, doctrine, doctrine-dbal, enum, php, symfony, symfony-bundle
fre5h/DoctrineEnumBundle同语言 PHP最近更新仓库
2024-11-20 23:58:25 laravel/framework
2024-11-20 18:39:23 danielmiessler/SecLists
2024-11-16 21:54:23 w7corp/easywechat
2024-11-16 04:49:03 coollabsio/coolify
2024-11-13 23:19:14 symfony/symfony
2024-11-13 22:53:21 symfony/var-dumper