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 today

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 41% 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

907d ago

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

v1.0.4PHP &gt;=8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8653521?v=4)[Eugene](/maintainers/FlexIDK)[@FlexIDK](https://github.com/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

[spatie/laravel-medialibrary

Associate files with Eloquent models

6.1k43.2M631](/packages/spatie-laravel-medialibrary)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[yajra/laravel-oci8

Oracle DB driver for Laravel via OCI8

8793.2M25](/packages/yajra-laravel-oci8)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[mike-bronner/laravel-model-caching

Automatic caching for Eloquent models.

2.4k91.0k1](/packages/mike-bronner-laravel-model-caching)

PHPackages © 2026

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