Skip to content

Small Entity Schema logo

Visual entity modelling

Small Entity Schema

A graphical class-schema designer distributed as a Composer library. It specializes in generating and updating Small Swoole Entity Manager entities while preserving custom application code.

Safe class updates

The update process preserves custom PHP elements that are outside the generated model definition:

Preserved

Class structure

Comments, implemented interfaces and custom PHP attributes remain intact.

Preserved

Application state

Custom properties can coexist with generated ORM fields.

Preserved

Business behavior

Application methods are retained when the entity schema is regenerated.

Screenshots

Small Entity Schema editor overview
Entity modelling workspace
Small Entity Schema relation editor
Entity and relation configuration

Install

composer require small/entity-schema

Run the application

composer entity-schema-start
composer entity-schema-stop