Download the PHP package g4t/schema-designer without Composer

On this page you can find all versions of the php package g4t/schema-designer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package schema-designer

Packagist Laravel 8 to 13 PHP ^8.0 MIT

g4t Schema Designer

A visual database schema designer for Laravel, driven entirely by migration files — no database introspection required.

The package replays every migration's up() method against a capturing schema builder swapped in behind the Schema facade. Blueprints are recorded instead of executed and folded into an in-memory model of your final schema — rendered as an interactive ERD. Every change you make in the UI (create / edit / drop a table) generates a real migration file, shown to you for review before it is written.

Installation

The service provider is auto-discovered. Open the designer at:

Features

Compatibility

Laravel 8.x, 9.x, 10.x, 11.x, 12.x, 13.x
PHP ^8.0
Databases Driver-agnostic — parsing happens at the Blueprint level, so MySQL, PostgreSQL, SQLite, and SQL Server projects all work the same.

Configuration

Key Default Purpose
enabled null null → available everywhere except production. Override with SCHEMA_DESIGNER_ENABLED=true/false.
path schema-designer Route prefix.
middleware ['web'] Add auth etc. to protect the UI.
migrations_path database_path('migrations') Where migrations are read from and written to.
layout_file storage/app/schema-designer/layout.json Canvas positions.

How parsing works

  1. Migration files are loaded in order (both anonymous-class and classic named-class styles).
  2. The Schema facade root is swapped for a CapturingSchemaBuilder; each Schema::create/table/drop/rename call produces a Blueprint that is recorded, not executed.
  3. Introspection calls inside migrations (Schema::hasTable(), hasColumn(), …) are answered from the aggregated state, so conditional migrations behave exactly as they would against a fully migrated database.
  4. SchemaAggregator folds columns, ->change()s, renames, drops, indexes, and foreign keys into the final schema model.

Known limits

Security

The UI writes files into your migrations directory and can run php artisan migrate. It is disabled in production by default — if you enable it there, put real auth middleware in front of it.

License

MIT

schema-designer


All versions of schema-designer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
laravel/framework Version ^8.83|^9.0|^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package g4t/schema-designer contains the following files

Loading the files please wait ...