Skip to content

Instantly share code, notes, and snippets.

View hanetooth's full-sized avatar
🎯
Focusing

HEIN HTUT AUNG hanetooth

🎯
Focusing
  • Myanmar
  • 03:57 (UTC +07:00)
View GitHub Profile
@hanetooth
hanetooth / Model.php
Created April 14, 2018 08:15 — forked from danrichards/Model.php
Laravel Base Model with some simple caching mechanisms using attribute mutators.
<?php
namespace App;
use App\Utils\Data;
use App\Utils\Str;
use Cache;
use Closure;
use DateTime;
use DB;