Make Webhooks & Schedules
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.
- https://symfony.com/doc/current/webhook.html
- https://symfony.com/doc/current/scheduler.html
- https://symfonycasts.com/screencast/symfony7-upgrade/scheduler
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
New Contributors
- @ClemRiviere made their first contribution in #1493
- @b1rdex made their first contribution in #1219
Diff: v1.57.0...v1.58.0