Skip to content
SoftDeletes With Unix Timestamp For Laravel
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Eloquent
.gitignore
LICENSE
README.md
composer.json

README.md

Laravel SoftDeletes With Unix Timestamp

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

You can’t perform that action at this time.