Vemto now supports Master-Detail - 0.9.2 changelog

Welcome to version 0.9.2 of Vemto.

There are a lot of features and improvements we hope you like. Please read this changelog carefully, as there are potential breaking changes on this new version.

Master-Detail 🚀

Now Vemto supports creating, editing, and generating Laravel applications with Master-Detail forms for all available stacks. Master-detail is generated as a Livewire Component and supports all common form features, including nested detail.

image

Master-Detail as Image Gallery 🖼️

You can also use the master-detail feature to create image galleries, file collections, etc (just create a Detail Form that uploads an image or file and Vemto will take care of generating the correct code for you):

Image Gallery

Nested Master-Detail 📑

Now, it is possible to add nested detail to your master-detail forms. There are no nested master-detail limits, you can create as many levels as you want.

image

Computed Inputs 🧮

Vemto also supports adding computed inputs to your CRUD. For now, computed inputs are only shown inside Index Page and Mater-Detail lists and helps present computed formulas or accessors defined on your Model:

computed

Here is an example of usage of the input above:

computed-example

Changed to use a single AlpineJS component for Image Viewer

Instead of generating one component by form, now it generates a single AlpineJS component called imageViewer that is used by all forms with image upload.

This change is a potential breaking change for existing projects with custom code, but don't worry, Vemto will show the difference for you on the Code Diff Viewer, so it will be possible to change the necessary files without difficulty.

image

Other small improvements and bug fixes🐞

  • Fixed the mobile phone number faker (Issue)
  • Fixed problems with translations (Issue)
  • Fixed problems with foreign keys (Issue)
  • Fixed foreignId faker (Issue)
  • Fixed Jetstream styles (Vemto was not installing Tailwind Forms correctly) (Issue)
  • Fixed problems when changing the default controllers path (Issue)
  • Fixed problems when renaming a table name (Issue)
  • Changed to update the migration name when changing the Table name (Issue)
  • Fixed to correctly generate routes when Model has a not standard plural form (Issue)
  • Removing the .git folder after cloning the project
  • Cleaning the tracked files when the project is being generated again, from start
Tiago Rodrigues

by Tiago Rodrigues

Software Developer. Creator of Vemto. Find me on Twitter.

Vemto

A Desktop Laravel code generator that will power the way you start new Laravel Projects.
More Details