github symfony/maker-bundle v1.34.0
make:entity PHP 8 Attribute Support

latest releases: v1.43.0, v1.42.0, v1.41.0...
2 years ago

Hi Makers!

This release contains various features - but one big one in particular! The ability to use make:entity to generate code using PHP 8 attributes. If you're using PHP 8 (and have recent enough versions of all the underlying libraries), MakerBundle should now generate attributes instead of annotations in all situations (if you an annotation is still generated somewhere, please open an issue).

Note: To use attribute with Doctrine, remove the type: annotation line in your config/packages/doctrine.yaml (or set it to attribute, but without any type, Doctrine will detect if attributes are supported).

September 27th, 2021

Feature

Bug Fix

Diff: v1.33.0...v1.34.0

Happy making!

Don't miss a new maker-bundle release

NewReleases is sending notifications on new releases.