PHPackages                             alibori/laravel-db-size-alerts - 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. [Database &amp; ORM](/categories/database)
4. /
5. alibori/laravel-db-size-alerts

ActiveLibrary[Database &amp; ORM](/categories/database)

alibori/laravel-db-size-alerts
==============================

Laravel package to receive alerts about database size limits.

v1.0.0(2y ago)711MITPHPPHP ^8.1

Since Oct 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alibori/laravel-db-size-alerts)[ Packagist](https://packagist.org/packages/alibori/laravel-db-size-alerts)[ Docs](https://github.com/alibori/laravel-db-size-alerts)[ RSS](/packages/alibori-laravel-db-size-alerts/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (2)Used By (0)

Laravel package to receive alerts about database size limits.
=============================================================

[](#laravel-package-to-receive-alerts-about-database-size-limits)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5e9e5cd7d2431553271857a14ff17f26b16210c5dce389389717c4bd32230311/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c69626f72692f6c61726176656c2d64622d73697a652d616c657274732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alibori/laravel-db-size-alerts)[![Total Downloads](https://camo.githubusercontent.com/70ffde1909fa564bf182926abf7a08d375606cef2187341cdd42c4de88783d1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c69626f72692f6c61726176656c2d64622d73697a652d616c657274732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alibori/laravel-db-size-alerts)[![run-tests](https://github.com/alibori/laravel-db-size-alerts/actions/workflows/run-tests.yml/badge.svg)](https://github.com/alibori/laravel-db-size-alerts/actions/workflows/run-tests.yml)[![PHPStan](https://github.com/alibori/laravel-db-size-alerts/actions/workflows/phpstan.yml/badge.svg)](https://github.com/alibori/laravel-db-size-alerts/actions/workflows/phpstan.yml)

This package allows you to receive alerts about database tables size limits.

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

[](#installation)

**IMPORTANT:** This package requires mysql database connection.

You can install the package via composer:

```
composer require alibori/laravel-db-size-alerts
```

You can publish the config file with:

```
php artisan vendor:publish --tag="db-size-alerts-config"
```

You can publish the mail views file with:

```
php artisan vendor:publish --tag="db-size-alerts-views"
```

Usage
-----

[](#usage)

You can use the following artisan command to check the specified tables size:

```
php artisan db-size:check
```

Or, recommended, you can schedule the artisan command to run periodically on your `App\Console\Kernel.php` file:

```
protected function schedule(Schedule $schedule)
{
    $schedule->command(LaravelDbSizeAlertsCommand::class)->daily();
}
```

In both cases, if the *APP\_ENV* is not *local* you will receive an email with the tables that have exceeded the specified size limit.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Axel Libori Roch](https://github.com/alibori)

License
-------

[](#license)

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

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

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

950d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a5589342025661cc2ed82570d412e3317fc7f600d907e67acb6ab618d21bfb0c?d=identicon)[alibori](/maintainers/alibori)

---

Top Contributors

[![alibori](https://avatars.githubusercontent.com/u/71702817?v=4)](https://github.com/alibori "alibori (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

databaselaravellaravel-packagelaravelaliborilaravel-db-size-alerts

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/alibori-laravel-db-size-alerts/health.svg)

```
[![Health](https://phpackages.com/badges/alibori-laravel-db-size-alerts/health.svg)](https://phpackages.com/packages/alibori-laravel-db-size-alerts)
```

###  Alternatives

[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[spatie/laravel-model-flags

Add flags to Eloquent models

4301.1M1](/packages/spatie-laravel-model-flags)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[spatie/laravel-sql-commenter

Add comments to SQL queries made by Laravel

1931.4M1](/packages/spatie-laravel-sql-commenter)[spatie/laravel-deleted-models

Automatically copy deleted records to a separate table

409109.8k4](/packages/spatie-laravel-deleted-models)[wnx/laravel-backup-restore

A package to restore database backups made with spatie/laravel-backup.

203330.1k2](/packages/wnx-laravel-backup-restore)

PHPackages © 2026

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