packagist symfony/maker-bundle v1.58.0
Make Webhooks & Schedules

latest releases: v1.59.0, dev-main
25 days ago

Howdy Makers,

We've added not one, but two, brand spanking new makers to the bundle! make:webhook handles a bit of the grunt work needed to get your app responding to external events using Symfony's Webhook Component. But what about generating that report every Monday at 3am? Don't worry, MakerBundle can handle that too, turn off your alarm clock and type make:schedule to generate a new schedule for Symfony's Scheduler Component .

Both of these components are fairly new - we look forward to hearing your feedback on how we can make either of these maker's better. In the meantime, checkout the docs below for each component.

In other news, make:entity can now handle is'ers and has'ers a bit better. If your entity has a property, say $isPizzaGood, maker will generate public function isPizzaGood() instead of isIsPizzaGood(). And, if your entity happens to have a collection of pizza's - it adds the appropriate DocBlock annotation to the property to aid in static analysis & code completion. E.g.

/** @var Collection<int, Pizza> */
#[ORM\MandToOne(....)
private Collection $pizza;

Enjoy!

v1.58.0

April 6th, 2024

Feature

  • #1502 [make:*] additional type improvements - @jrushlow
  • #1499 [make:*] add docBlock return types for non-internal makers - @jrushlow
  • #1493 [make:entity] managing keyword prefixes (is, has) for boolean properties getters - @ClemRiviere
  • #1491 [make:webhook] Add new command for Symfony's Webhook Component - @maelanleborgne
  • #1487 [make:schedule] a new command for creating recurring Symfony Schedules - @jrushlow
  • #1219 [make:entity] Add PHPDoc var type for Collections - @b1rdex

Bug

  • #1476 [ysm] handle linebreak followed by an immediate root-level comment - @jrushlow

New Contributors

Diff: v1.57.0...v1.58.0

Don't miss a new maker-bundle release

NewReleases is sending notifications on new releases.