Download the PHP package dskripchenko/laravel-schemify without Composer
On this page you can find all versions of the php package dskripchenko/laravel-schemify. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dskripchenko/laravel-schemify
More information about dskripchenko/laravel-schemify
Files in dskripchenko/laravel-schemify
Package laravel-schemify
Short Description Schemify database manager for PostgreSQL — dynamic multi-schema "layer" connections with per-layer migrate / seed / wipe via a --layer option.
License MIT
Homepage https://github.com/dskripchenko/laravel-schemify
Informations about the package laravel-schemify
dskripchenko/laravel-schemify
🌐 English · 中文
Dynamic multi-schema PostgreSQL connections for Laravel. Schemify models
each PostgreSQL schema as a layer (a layer_items row pointing at a
db_connections row) and adds a --layer option to Laravel's migrate,
db:seed and db:wipe commands so you can run them against any layer's schema
on the fly. Layers can live in the same database (different schemas) or in
entirely different databases.
Schemify is a lightweight schema/connection switcher wired into the migration commands — not a full tenancy framework. If you need automatic tenant identification, cache/queue/filesystem isolation or single-DB row scoping, reach for stancl/tenancy or spatie/laravel-multitenancy.
Supported versions
| Versions | |
|---|---|
| PHP | 8.2 · 8.3 · 8.4 · 8.5 |
| Laravel | 11 · 12 · 13 |
| Database | PostgreSQL |
Install
The provider is auto-discovered. layers:install publishes the config and core
migration, creates the db_connections / layer_items tables on the central
connection, and registers the default main layer.
Quick tour
Documentation
- Getting started
- Commands
- Runtime layer switching
- Migrations
- Security
Upgrading from 2.x? See CHANGELOG.
License
MIT © Denis Skripchenko
All versions of laravel-schemify with dependencies
laravel/framework Version ^11.0 || ^12.0 || ^13.0
dskripchenko/laravel-api Version ^5.0 || ^6.0
dskripchenko/php-array-helper Version ^1.0