#Announcements

Craft Generator

Generator

Extending Craft CMS with custom plugins and modules just got a lot easier!

That’s because we just launched Craft Generator, a new CLI tool for scaffolding new plugins, modules, and various system components:

  • Active Record models
  • Asset bundles
  • CLI commands
  • Element actions
  • Element condition rules
  • Element exporters
  • Element types
  • Field types
  • Filesystem types
  • Generators (!)
  • Models
  • Queue jobs
  • Services
  • Utilities
  • Validators
  • Web controllers
  • Widget types
  • …and more!

System components can be created for any currently-installed plugins or modules, as well as Craft CMS itself. Check out the extension documentation for some hands-on examples.

Craft Generator requires Craft CMS 4.3.5 or later, and is available now as an MIT-licensed Composer package.

We hope you find it helpful!

Prev
2022 in Review
Blog Home
Next
Shopify for Craft CMS