al-one/laravel-soft-deletes-unix

SoftDeletes With Unix Timestamp For Laravel

v1.6.20-beta1 2021-05-18 03:13 UTC

README

Installing

# composer.json

"minimum-stability": "dev",
"prefer-stable": true,
$ composer require al-one/laravel-soft-deletes-unix -vvv

or

$ composer require al-one/laravel-soft-deletes-unix:dev-master -vvv

Usage

<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Alone\LaravelSoftDeletesUnix\Eloquent\SoftDeletesUnix;

class Flight extends Model
{

    use SoftDeletesUnix;

    protected $dates = ['deleted_at'];

}

License

MIT