PHPackages                             blubird/db-truncate - 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. blubird/db-truncate

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

blubird/db-truncate
===================

Your can truncate all your tables in your database

v2.0.1(3y ago)13.4k↑25%1MITPHP

Since Mar 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kazi-shahin/db-truncate)[ Packagist](https://packagist.org/packages/blubird/db-truncate)[ RSS](/packages/blubird-db-truncate/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (6)Used By (0)

DB Truncate
===========

[](#db-truncate)

This package is a simple way to truncate your database tables. Sometimes you need to truncate your database tables for testing purpose. This package will help you to truncate your database tables without running fresh migration. cause, re-running migration will take a lot of time. So, you might need to truncate your database tables.

You can also ignore some tables while truncating all the others. for example `migrations` table.

Installation:
=============

[](#installation)

- `composer require blubird/db-truncate`

Command
=======

[](#command)

- `php artisan db:truncate`
- `php artisan db:truncate --except=migrations,users`
- `php artisan db:truncate --only=users,roles,permissions`
-

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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 ~2 days

Total

5

Last Release

1154d ago

Major Versions

v1.2 → v2.0.02023-03-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f8151706b2edd151c0ef7123f0f292a029a57e35b6e77dbc3d31cba9badf662?d=identicon)[amims71](/maintainers/amims71)

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

---

Top Contributors

[![amims71](https://avatars.githubusercontent.com/u/23295804?v=4)](https://github.com/amims71 "amims71 (7 commits)")[![muhammadZihad](https://avatars.githubusercontent.com/u/48516246?v=4)](https://github.com/muhammadZihad "muhammadZihad (3 commits)")

### Embed Badge

![Health badge](/badges/blubird-db-truncate/health.svg)

```
[![Health](https://phpackages.com/badges/blubird-db-truncate/health.svg)](https://phpackages.com/packages/blubird-db-truncate)
```

###  Alternatives

[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58723.9M36](/packages/scienta-doctrine-json-functions)[martin-georgiev/postgresql-for-doctrine

Extends Doctrine with native PostgreSQL support for arrays, JSONB, ranges, PostGIS geometries, text search, ltree, uuid, and 100+ PostgreSQL-specific functions.

4485.3M4](/packages/martin-georgiev-postgresql-for-doctrine)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[overtrue/laravel-versionable

Make Laravel model versionable.

585308.0k5](/packages/overtrue-laravel-versionable)[worksome/foggy

Foggy is a tool for making database dumps with some data removed/changed.

26571.7k1](/packages/worksome-foggy)

PHPackages © 2026

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