PHPackages                             kmuenkel/safe-schema-builder - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. kmuenkel/safe-schema-builder

ActiveLibrary[Testing &amp; Quality](/categories/testing)

kmuenkel/safe-schema-builder
============================

Replace Laravel's Schema Facade with one capable of omitting table alterations that already exist

v1.0.0-alpha(6y ago)01PHPPHP &gt;=7.0.0CI failing

Since Jan 28Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kmuenkel/safe-schema-builder)[ Packagist](https://packagist.org/packages/kmuenkel/safe-schema-builder)[ RSS](/packages/kmuenkel-safe-schema-builder/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

safe-schema-builder
===================

[](#safe-schema-builder)

Allow Migration files to verify if the changes they're about to apply don't already exist in the target DB schema

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2293d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/86619ba927c0055375588f0c21d6d0d89be6a74e4a2cb98558062c852ebe5c66?d=identicon)[kmuenkel](/maintainers/kmuenkel)

---

Top Contributors

[![kmuenkel](https://avatars.githubusercontent.com/u/17931045?v=4)](https://github.com/kmuenkel "kmuenkel (3 commits)")

---

Tags

database-migrationslaravelschema-builderverifytestinglaraveldoctrineeloquent

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kmuenkel-safe-schema-builder/health.svg)

```
[![Health](https://phpackages.com/badges/kmuenkel-safe-schema-builder/health.svg)](https://phpackages.com/packages/kmuenkel-safe-schema-builder)
```

###  Alternatives

[imanghafoori/eloquent-mockery

Allows you to design your tests in an independent manner.

127636.4k2](/packages/imanghafoori-eloquent-mockery)[mattiasgeniar/phpunit-query-count-assertions

A custom assertion for phpunit that allows you to count the amount of SQL queries used in a test. Can be used to enforce certain performance characteristics (ie: limit queries to X for a certain action).

160730.9k2](/packages/mattiasgeniar-phpunit-query-count-assertions)[sti3bas/laravel-scout-array-driver

Array driver for Laravel Scout

971.5M3](/packages/sti3bas-laravel-scout-array-driver)[sofa/eloquent-testsuite

Helpers for fast and reliable UNIT tests for your Eloquent Models with PHPUnit

10104.7k](/packages/sofa-eloquent-testsuite)[illuminated/testing-tools

Laravel-specific Testing Helpers and Assertions.

5420.4k15](/packages/illuminated-testing-tools)[socialblue/laravel-query-adviser

With Laravel Query Adviser you can get more insights into the SQL queries created by Eloquent models used in your app. It logs the queries used by your application and provides a helpful overview of the SQL queries. You can rerun the SQL query to analyze the database impact or copy the SQL query to your clipboard. The handy card view allows you to quickly point out the pain points of your application's SQL queries.

203.5k](/packages/socialblue-laravel-query-adviser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
