PHPackages                             luxutils/laravel-table-optimize - 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. luxutils/laravel-table-optimize

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

luxutils/laravel-table-optimize
===============================

Package for performing OPTIMIZE queries from Laravel app

0.0.1(5y ago)0166MITPHPPHP &gt;=7.3.0

Since Sep 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/luxutils/laravel-table-optimize)[ Packagist](https://packagist.org/packages/luxutils/laravel-table-optimize)[ Docs](https://github.com/luxutils/laravel-table-optimize)[ RSS](/packages/luxutils-laravel-table-optimize/feed)WikiDiscussions master Synced today

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

Laravel Table Optimize
======================

[](#laravel-table-optimize)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cd484db9d25e6c47ef92190bf1508c9b5f515270d95b5511f2021553b6d5d53a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c75787574696c732f6c61726176656c2d7461626c652d6f7074696d697a652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/luxutils/laravel-table-optimize)[![Total Downloads](https://camo.githubusercontent.com/4b7ac01b5347fa3e3fb6552a9cb9b3037982a35e518fb0de9e2b364ad9291567/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c75787574696c732f6c61726176656c2d7461626c652d6f7074696d697a652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/luxutils/laravel-table-optimize)

Use with caution!
-----------------

[](#use-with-caution)

Database tables with lots of insert / delete operations sometimes grows in size. For example, Laravel's `jobs` table could be empty and still take few GB's in size. That's because databases don't actually delete the data, it just marks it for deletion. Running `OPTIMIZE` or `VACUUM` commands on databases takes that space back. This package makes optimization easier.

Supported database engines
--------------------------

[](#supported-database-engines)

Currently only MySql and MariaDB are supported.

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

[](#installation)

```
composer require luxutils/laravel-table-optimize
```

License
-------

[](#license)

This package is released under the MIT license (MIT).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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

2115d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laraveloptimizevacuum

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/luxutils-laravel-table-optimize/health.svg)

```
[![Health](https://phpackages.com/badges/luxutils-laravel-table-optimize/health.svg)](https://phpackages.com/packages/luxutils-laravel-table-optimize)
```

###  Alternatives

[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[tpetry/laravel-postgresql-enhanced

Support for many missing PostgreSQL specific features

1.0k2.4M29](/packages/tpetry-laravel-postgresql-enhanced)[bavix/laravel-wallet

It's easy to work with a virtual wallet.

1.3k1.3M19](/packages/bavix-laravel-wallet)[glushkovds/phpclickhouse-laravel

Adapter of the most popular library https://github.com/smi2/phpClickHouse to Laravel

2051.5M2](/packages/glushkovds-phpclickhouse-laravel)[flat3/lodata

OData v4.01 Producer for Laravel

99351.7k](/packages/flat3-lodata)[giacomomasseron/laravel-models-generator

Generate Laravel models from an existing database

557.5k](/packages/giacomomasseron-laravel-models-generator)

PHPackages © 2026

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