PHPackages                             abdulmannans/seed-spotter - 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. abdulmannans/seed-spotter

ActiveLibrary

abdulmannans/seed-spotter
=========================

A package to spot the discrepancies between database and seeders

v2.0.1(5mo ago)382[1 issues](https://github.com/abdulmannans/seed-spotter/issues)MITPHPPHP ^7.4|^8.0|^8.1|^8.2|^8.3|^8.4

Since Sep 12Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/abdulmannans/seed-spotter)[ Packagist](https://packagist.org/packages/abdulmannans/seed-spotter)[ RSS](/packages/abdulmannans-seed-spotter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (8)Used By (0)

SeedSpotter
===========

[](#seedspotter)

SeedSpotter is a Laravel package that helps you detect discrepancies between your database seeders and the actual database content. It's an essential tool for maintaining data integrity in your Laravel applications.

Features
--------

[](#features)

- Compare seeder data with actual database content
- Detect missing, extra, or different rows
- Ignore specified columns in comparisons
- Easy-to-use Artisan command
- Configurable through Laravel's config system

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require abdulmannans/seed-spotter
```

The package will automatically register its service provider.

Usage
-----

[](#usage)

### Using the Artisan Command

[](#using-the-artisan-command)

The easiest way to use SeedSpotter is through its Artisan command:

```
php artisan seed-spotter:compare "Database\Seeders\YourSeeder" --table=your_table_name
```

This command will run the comparison and display the results in your console.

### Using in Code

[](#using-in-code)

You can also use SeedSpotter in your PHP code:

```
use Abdulmannans\SeedSpotter\Facades\SeedSpotter;

$result = SeedSpotter::compare(YourSeederClass::class, "your_table_name");

if ($result["has_discrepancies"]) {
  foreach ($result["discrepancies"] as $discrepancy) {
    // Handle discrepancy
  }
} else {
  // Data is in sync
}
```

Configuration
-------------

[](#configuration)

To customize SeedSpotter's behavior, you can publish the configuration file:

```
php artisan vendor:publish --provider="Abdulmannans\SeedSpotter\SeedSpotterServiceProvider" --tag="config"
```

This will create a `config/seed-spotter.php` file. Here are the available options:

```
return [
  // The default table to check if not specified
  "table" => "users",

  // Columns to ignore in comparisons
  "ignore_columns" => ["created_at", "updated_at"],
];
```

Testing
-------

[](#testing)

To run the package tests, use:

```
composer test
```

Contributing
------------

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Credits
-------

[](#credits)

- Abdul Mannan ()
- [All Contributors](../../contributors)

Support
-------

[](#support)

If you discover any security related issues, please email  instead of using the issue tracker.

---

Made with ❤️ by Abdul Mannan()

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance62

Regular maintenance activity

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% 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

Every ~71 days

Recently: every ~106 days

Total

7

Last Release

179d ago

Major Versions

v1.0.4 → v2.0.02025-11-11

PHP version history (3 changes)1.0.0PHP ^7.4|^8.0

v1.0.2PHP ^7.4|^8.0|^8.1|^8.2

v2.0.0PHP ^7.4|^8.0|^8.1|^8.2|^8.3|^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/7d6be949abc443ee2499eec276a60cab63d79fd3dbc23d97bc88509ac37a91d2?d=identicon)[abdulmannans](/maintainers/abdulmannans)

---

Top Contributors

[![abdulmannans](https://avatars.githubusercontent.com/u/43469473?v=4)](https://github.com/abdulmannans "abdulmannans (14 commits)")[![PrathameshVazeRT](https://avatars.githubusercontent.com/u/235453877?v=4)](https://github.com/PrathameshVazeRT "PrathameshVazeRT (3 commits)")[![huzaifsk](https://avatars.githubusercontent.com/u/59112665?v=4)](https://github.com/huzaifsk "huzaifsk (1 commits)")

---

Tags

hacktoberfesthacktoberfest-acceptedlaravellaravel-packagemigrationphp

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/abdulmannans-seed-spotter/health.svg)

```
[![Health](https://phpackages.com/badges/abdulmannans-seed-spotter/health.svg)](https://phpackages.com/packages/abdulmannans-seed-spotter)
```

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

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