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 1mo ago

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

2069d 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

[tpetry/laravel-postgresql-enhanced

Support for many missing PostgreSQL specific features

9982.0M14](/packages/tpetry-laravel-postgresql-enhanced)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

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

423715.4k1](/packages/clickbar-laravel-magellan)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)[guidocella/eloquent-populator

Guess attributes for Eloquent model factories

7661.6k2](/packages/guidocella-eloquent-populator)

PHPackages © 2026

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