Laravel Model Caching

PHP MIT

High-performance Eloquent model caching for Laravel with automatic cache invalidation, relationship-aware caching, query caching, cache tags, and Redis support.

Stars
22
Forks
3
Downloads
2,346
Open Issues
0
Files main

Repository Files

Loading file structure...
tests/Unit/HasModelCachingTest.php
<?php

namespace GhostCompiler\LaravelModelCaching\Tests\Unit;

use GhostCompiler\LaravelModelCaching\Tests\Fixtures\User;
use GhostCompiler\LaravelModelCaching\Tests\TestCase;

class HasModelCachingTest extends TestCase
{
    public function test_model_using_trait_can_boot_without_recursive_observer_registration(): void
    {
        $this->assertInstanceOf(User::class, new User);
    }
}