Download the PHP package clcbws/laravel-schema-sentinel without Composer

On this page you can find all versions of the php package clcbws/laravel-schema-sentinel. 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 laravel-schema-sentinel

Laravel Schema Sentinel

Latest Stable Version GitHub Stars Total Downloads CI Tests License

Read this in: English | PortuguΓͺs (Brasil)

[!NOTE] This English document is the canonical source of truth for Laravel Schema Sentinel. All translations are maintained in sync with this document.

Laravel Schema Sentinel is a premium database schema integrity and governance suite. It detects and resolves "Schema Drift" (discrepancies between migration blueprints and the actual database state) and provides automated tools to standardize index configurations, audit content syncs, lint migration files, and reverse-engineer legacy tables.


πŸ“– Table of Contents


πŸš€ Getting Started

Introduction

In modern application deployment, database schemas can easily drift from migration files due to hotfixes, legacy imports, direct database edits, or faulty rollbacks. Schema Sentinel provides a total isolation simulation engine that runs migrations on a shadow database to establish the "ideal" schema, matches it against your live connection, and generates fixes automatically.

Key Features

Installation

Install the package via Composer:

The service provider and facade will be registered automatically.

Configuration

Publish the configuration file:

This creates config/schema-sentinel.php which allows you to define:


πŸ’» Artisan Commands

Auditing Schema Drift (schema:drift)

Run the core schema audit to inspect the health of your database:

Options:


Index Standardization (schema:standardize-indexes)

Inspect your database for non-standard index names and redundant indexes (e.g., column indexes already covered by composite index prefixes):

Options:


Data Drift Deep Dive (schema:data-drift)

Audit static lookup or seed tables to verify content consistency between environments:

Outputs a terminal-based diff table indicating missing, extra, or mismatched rows.


Legacy Database Reversing (schema:reverse)

Reverse-engineer a legacy database into a clean Laravel setup:

Options:


Migration File Linter (schema:sentinel-lint)

Audit your codebase migrations for anti-patterns that can cause drift:

Scans for:

  1. Raw DB::statement calls.
  2. Hardcoded platform-specific string default dates (like 'CURRENT_TIMESTAMP').
  3. Unsafe Schema::drop calls lacking IfExists.

Environment Doctor (schema:sentinel-doctor)

Run the health advisor to verify your environment configurations (PHP version, PDO drivers, shadow connection configs):


Help Guides & Spelling Matcher (schema:help)

Get detailed command help, configuration tips, and options. If you make a typo, the built-in Levenshtein suggestion engine will automatically suggest the correct command:


πŸ”Œ Programmatic API

You can integrate Sentinel programmatically inside controllers, dashboards, or deployment hooks using the Sentinel facade.

Drift Auditing

Parsing Schema DTOs

Extract structured metadata representing your database layout:

Index Standardization

Run the index analyzer programmatically:

Data Drift Audits

Audit data consistency against a target connection:

Programmatic Reversing

Trigger the reverse engineering generator from code:

Livewire Component & Blade UI

Display database integrity metrics inside your admin templates:

Or check programmatically in Blade layouts:


⚠️ Legacy Compatibility

While the latest version of this package requires Laravel 13.x and PHP 8.4+, developers running Laravel 11.x or 12.x (with PHP 8.2 or 8.3) can use the stable v1.6.0 release:

Laravel Version Supported PHP Versions Package Version
Laravel 11.x PHP 8.2 - 8.4 ~1.6.0
Laravel 12.x PHP 8.2 - 8.5 ~1.6.0

πŸ›‘οΈ Compatibility & Test Status


πŸ“„ Changelogs

Release: v2.1.0

For past version releases, see changelogs/v1.0.0.md.


🀝 Credits


All versions of laravel-schema-sentinel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
illuminate/support Version ^13.0
illuminate/database Version ^13.0
illuminate/console Version ^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 clcbws/laravel-schema-sentinel contains the following files

Loading the files please wait ...