PHPackages                             cerwyn/laraser - 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. cerwyn/laraser

ActiveLibrary

cerwyn/laraser
==============

1.0.0-beta(5y ago)10MITPHPPHP ^7.1

Since Feb 12Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Cerwyn/Laraser)[ Packagist](https://packagist.org/packages/cerwyn/laraser)[ Docs](https://github.com/cerwyn/laraser)[ RSS](/packages/cerwyn-laraser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (5)Used By (0)

Laraser
=======

[](#laraser)

[![Latest Version on Packagist](https://camo.githubusercontent.com/174fa23e1bd4655f4ec36bed7deea35bbd6afe1267745dfb1ff780e7c7bc56ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63657277796e2f6c6172617365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cerwyn/laraser)[![](https://camo.githubusercontent.com/0360d5365cf5b12f98ad5f0f5e84e9a021790f68362aa0cba4643b56b96e84aa/68747470733a2f2f636972636c6563692e636f6d2f67682f43657277796e2f4c6172617365722f747265652f6d61737465722e7376673f7374796c653d736869656c64)](https://camo.githubusercontent.com/0360d5365cf5b12f98ad5f0f5e84e9a021790f68362aa0cba4643b56b96e84aa/68747470733a2f2f636972636c6563692e636f6d2f67682f43657277796e2f4c6172617365722f747265652f6d61737465722e7376673f7374796c653d736869656c64)[![Total Downloads](https://camo.githubusercontent.com/56af71d5874001e31242c5c3828aeb8c59bd975eb589a74fce30e1e6404baf44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63657277796e2f6c6172617365722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cerwyn/laraser)

Simply Hard Delete your soft deleted data

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require cerwyn/laraser
```

Usage
-----

[](#usage)

1. Publish the configuration

```
php artisan vendor:publish --tag=laraser
```

2. The configuration should look like this

```
[
    'remove_in' => 30, //days
    'only' => [
        'App\Models\User',
    ],
    'log' => true,
    'storage' => 'local'
];

```

The `remove_in` is the old of your soft deleted data that want to be deleted.

The `only` is the models that take effect. If you want to make all of your models take effect, then you should fill with `['*']`

The `log` is whether you want to log the data before being removed

The `storage` is where you want your log to be stored. If you want to have another place to save your log data, you should add another disks inside `config/filesystems.php`

```
'disks' => [
        // Add new disks
        'laraser' => [
            'driver' => 'local',
            'root' => storage_path('app/laraser'),
        ],

```

Then inside the laraser configuration file,

```
'storage' => 'laraser',

```

3. Then you can schedule the command inside `app/Console/Kernel.php`

```
protected function schedule(Schedule $schedule)
{
    $schedule->command('laraser:remove')->weekly();
}

```

4. Or run the `php artisan laraser:remove` manually, to start removing your soft deleted data based on your configuration

License
-------

[](#license)

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

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

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

Every ~13 days

Total

2

Last Release

1906d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fd44150a5960e53596f982497fb5926de46cc1d939f6d2dde00602249baf48c?d=identicon)[Cerwyn](/maintainers/Cerwyn)

---

Top Contributors

[![Cerwyn](https://avatars.githubusercontent.com/u/56788659?v=4)](https://github.com/Cerwyn "Cerwyn (19 commits)")

---

Tags

laravellaravel8phpphp7cerwynlaraser

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cerwyn-laraser/health.svg)

```
[![Health](https://phpackages.com/badges/cerwyn-laraser/health.svg)](https://phpackages.com/packages/cerwyn-laraser)
```

###  Alternatives

[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M87](/packages/laravel-doctrine-orm)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[masterro/laravel-mail-viewer

Easily view in browser outgoing emails.

6392.1k](/packages/masterro-laravel-mail-viewer)[dragon-code/laravel-http-logger

Logging incoming HTTP requests

319.8k3](/packages/dragon-code-laravel-http-logger)[cleaniquecoders/blueprint-macro

Laravel Blueprint Macro

164.6k6](/packages/cleaniquecoders-blueprint-macro)

PHPackages © 2026

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