esplora/spire
Larablocks Analysis
esplora/spire works with Laravel 9 to 12 (latest release 0.0.4, Mar 2, 2026).
Recommendation checks
Use with careUse with care: meets 1 of 4 checks.
- Latest release doesn't support Laravel 13, the current version
- Released in the last 12 months (Mar 2, 2026)
- 37 downloads a month (needs 10,000)
- 2 GitHub stars (needs 100)
State
Maintained- Last stable release: Mar 2, 2026.
- 1 release in the last 12 months.
- First released: Mar 8, 2024.
- Monthly downloads: 37.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.
| Install | |
|---|---|
composer require esplora/spire |
|
| Latest Version: | 0.0.4 |
| PHP: | ^8.0 |
| Laravel: | 9 – 12 |
| License: | MIT |
| Last Updated: | Mar 2, 2026 |
| Links: | GitHub · Packagist |
Spire
Spire is a Laravel package designed to provide easy tools specifically tailored for optimizing SQLite databases in production environments.
Installation
To install Spire into your Laravel project, you can use Composer:
composer require esplora/spire
Usage
Once installed, you can utilize Spire's commands via the Artisan CLI.
Commands
Enable WAL Journal
To enable WAL journal on SQLite databases for performance optimization:
php artisan sqlite:wal-enable
Enabling WAL journaling can enhance database concurrency, reduce contention, and improve overall database performance, especially in high-traffic production environments.
Optimize Database
To optimize the SQLite database by running PRAGMA optimize:
php artisan sqlite:optimize
This combined optimization process ensures comprehensive optimization of the database file, resulting in improved performance and efficient storage utilization.
Run VACUUM
To optimize the SQLite database by running VACUUM:
php artisan sqlite:vacuum
VACUUM rebuilds the database file, reclaims unused disk space, and can help to improve database performance by optimizing storage utilization.
Schedule
For efficient database maintenance, it's highly recommended to schedule some of these commands as cron jobs. For instance, you can optimize the SQLite database periodically by adding a cron job to your scheduler:
// Optimize SQLite database every minute,
// see https://www.sqlite.org/pragma.html#pragma_optimize
$schedule->command('sqlite:optimize')->everyMinute();
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.0.4 | ^8.0 | ^9.2| | MIT | |
| 0.0.3 | ^8.0 | ^9.2| | MIT | |
| 0.0.2 | ^8.0 | ^9.2| | MIT | |
| 0.0.1 | ^8.0 | ^9.2| | MIT |