meloncut/laravel-utils

There is no license information available for the latest version (v1.0.0) of this package.

develop tools for laravel framework

v1.0.0 2024-06-29 13:45 UTC

This package is auto-updated.

Last update: 2025-04-05 04:21:52 UTC


README

custom softdelete fields

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Meloncut\LaravelUtils\Database\MelonSoftDeletes;

class Dummy extends Model {
    use MelonSoftDeletes, HasFactory;

    protected $table = 'dummy';

    protected $fillable = ['name'];

    public $timestamps = false;
}