PHP code example of al-one / laravel-soft-deletes-unix

1. Go to this page and download the library: Download al-one/laravel-soft-deletes-unix library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

al-one / laravel-soft-deletes-unix example snippets




namespace App;

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

class Flight extends Model
{

    use SoftDeletesUnix;

    protected $dates = ['deleted_at'];

}