Vemto 1.0.1 now has a Light Theme - Changelog

This new version of Vemto comes with a lot of improvements and new features. Now we have a robust platform that not only generates Laravel code but allows you to completely customize the way the code is generated, by changing the Templates or writing plugins with the powerful available API.

No time-wasting, let's go see the news.

Light Theme and UI improvements

After a year since launch, we finally have a working Light Theme. In addition, we've also changed the font to one with more readability and made several UI/UX improvements.

image

Shortcuts changed due to bugs on Windows

We found that the shortcuts with "Ctrl + Alt + Key" were not working correctly in Windows as they made the inputs lose focus. Therefore, all functional Vemto shortcuts now use "Ctrl + Shift + Key".

image

All dynamic templates are now editable

Now all dynamic templates/stubs used by Vemto to generate the code are available for editing via the Templates Editor (including inputs). Only static files are not available, as they can easily be replaced via a plugin (remember that plugins can also replace or even create new dynamic files).

image

Generating code to handle UUID primary key

Given frequent requests, if you set your Primary Key with the UUID type, Vemto will automatically add a trait HasUUID to your Model to generate the correct values.

image

Master-Detail can now be added to the Show Page

Another frequent request is that it would be possible to control where the Master-Detail component will be shown, whether on the Edit page or on the Show page. You now have the option to choose to show it on either of these pages or both.

image

See Artisan errors on the console

One of Vemto's biggest difficulties was that when an Artisan command failed, it wasn't possible to know what error occurred (this was because Artisan doesn't write errors to the stdout output, but we found another solution), so the command should be run through the command-line to catch the errors. Now, whenever an Artisan error occurs, the correct error message will be shown on the Vemto console.

image

Added a plugin console

Although it is possible to debug a plugin's main.js file through the Code Generation Console, it was not possible to do this with the Vue component of the interface. Now, this is fully possible using the Plugin Console, through specific API methods that you can see here in the documentation.

image

Multi-Tenancy with multi-database architecture

Now we have a plugin that generates a Multi-Tenancy base using Spatie's Laravel Multi-Tenancy package. You can see more details about how it works on the plugin page.

image

Plugins API Improvements

  • Added a way to correctly install composer and NPM packages from a plugin
  • Added a way to run PHP, artisan, composer, and NPM commands with the correct paths configured in the Vemto Settings
  • Added methods to manipulate project files and plugin files
  • Added improvements to the PHP Parser (Arrays manipulation)
  • Added some hooks to control Vemto when running an application
  • Improved API documentation

Small Improvements

In addition to all these features, several improvements and bug fixes have been added, as well as interface improvements:

  • Added a Javascript Language Formatter
  • Fixes to generated checkboxes
  • Added query params to the pagination
  • Changed Turbolinks to Hotwire Turbo (Turbolinks was deprecated recently)
  • Alpine.js upgraded to 3.x
  • Fixed image inputs validation
  • .env file now is tracked during the code generation

Solved Issues

  • On Create and On Update input options not working (issue)
  • Improvements on the "Add CRUD" modal (issue)
  • Missing "new_title" field in "Settings" tab of "CRUD" screen (issue)
  • Option for change text placeholder on the select element (issue)
  • Improvement: unique field unique faker attribute (issue)
  • .env file created by Vemto - passwords without double quotes (issue)
  • .env file created by Vemto contains DOS '\r\n' newline sequences (issue)
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