Design Models Interactively With Laravel Schematics


March 6th, 2020

Design Models Interactively With Laravel Schematics

Laravel Schematics is a neat package by Maarten Tolhuijs for making a diagram of your models and building them interactively:

This package allows you to make multiple diagrams of your Eloquent models and their relations. It will help building them providing drag and drop relations, forms to create and edit your models and many options like adding resource controllers, form requests and running migrations by the click of a button or (configurable) automatically. It also will give you insights in the migrations you ran and the ones specified in your migrations folder.

Some of the highlight features include:

  • Drag and drop models onto one another and interactively create relations
  • Building and editing individual models via UI
  • Multiple diagram styles: bezier, straight, flowchart, and state machine
  • Import / export diagrams
  • Searching and filtering models

Check out the drag and drop model relations editing example from the project’s readme:

If you’d like to learn more about this package, check it out on GitHub at mtolhuys/laravel-schematics.

Filed in:

Paul Redmond

Full stack web developer. Author of Lumen Programming Guide and Docker for PHP Developers.