PHP code example of wnx / laravel-disable-updated-at

1. Go to this page and download the library: Download wnx/laravel-disable-updated-at 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/ */

    

wnx / laravel-disable-updated-at example snippets


class Page extends Model
{
    const UPDATED_AT = null;
}



namespace App;

use Illuminate\Database\Eloquent\Model;
use Wnx\DisableUpdatedAt\DisableUpdatedAt;

class Page extends Model
{
    use DisableUpdatedAt;
}