PHPackages                             one23/laravel-softdeletes-boolean - 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. one23/laravel-softdeletes-boolean

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

one23/laravel-softdeletes-boolean
=================================

Laravel 9 soft deletes optimization for high load queries

v1.1.0(2y ago)0478MITPHPPHP &gt;=8

Since Mar 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/FlexIDK/laravel-softdeletes-boolean)[ Packagist](https://packagist.org/packages/one23/laravel-softdeletes-boolean)[ Docs](https://github.com/FlexIDK/laravel-softdeletes-boolean)[ RSS](/packages/one23-laravel-softdeletes-boolean/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (7)Used By (0)

Laravel 9 SoftDeletes Boolean
=============================

[](#laravel-9-softdeletes-boolean)

This package is mostly for high load apps. It will speed up queries with soft deletes. Boolean field is much better for indexing instead of unique timestamps.

Install
-------

[](#install)

Via Composer

```
$ composer require one23/laravel-softdeletes-boolean
```

Add `One23\LaravelSoftDeletesBoolean\SoftDeletesBoolean` trait to models with soft deletes.

Then create and run migration to add soft delete boolean field

```
Schema::table('users', function (Blueprint $table) {
    $table->boolean('is_deleted')->default(0)->index();
});
```

If you want to use this package for existing project you can use built-in command

```
php artisan softdeletes-boolean:migrate
```

Also you can change default column name `is_deleted` to any other by setting static property `IS_DELETED`of certain model

Versions compatibility
----------------------

[](#versions-compatibility)

```
For Laravel 9 - laravel-softdeletes-boolean v1.*
```

Change log
----------

[](#change-log)

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

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Eugene Krivoruchko](https://github.com/FlexIDK/)
- [Ivan Kolodiy](https://github.com/ivankolodii)

License
-------

[](#license)

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

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Every ~129 days

Recently: every ~160 days

Total

6

Last Release

854d ago

PHP version history (2 changes)v1.0.0PHP ~8

v1.0.4PHP &gt;=8

### Community

Maintainers

![](https://www.gravatar.com/avatar/8311e2852f397956d5401ea17683fc8ee583dc68635cdff2fc2f8a5fefb23a98?d=identicon)[FlexIDK](/maintainers/FlexIDK)

---

Top Contributors

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

---

Tags

laravellaravel 9soft deletessoftdeletesLaravelSoftDeletesBooleanlaravel boolean soft deletes

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/one23-laravel-softdeletes-boolean/health.svg)

```
[![Health](https://phpackages.com/badges/one23-laravel-softdeletes-boolean/health.svg)](https://phpackages.com/packages/one23-laravel-softdeletes-boolean)
```

###  Alternatives

[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[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)[baril/bonsai

An implementation of the Closure Tables pattern for Eloquent.

3593.5k](/packages/baril-bonsai)[toponepercent/baum

Baum is an implementation of the Nested Set pattern for Eloquent models.

3154.7k](/packages/toponepercent-baum)

PHPackages © 2026

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