tattran22/repository 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tattran22/repository

最新稳定版本:2.0.6

Composer 安装命令:

composer require tattran22/repository

包简介

The TatTran Repository is a Laravel package designed to supercharge your app's speed by caching database queries and model operations. This means your app can retrieve data instantly, leading to a smoother user experience.

README 文档

README

Boost Laravel Performance with TatTran Repository

What is it?

The TatTran Repository is a Laravel package designed to supercharge your app's speed by caching database queries and model operations. This means your app can retrieve data instantly, leading to a smoother user experience.

Key Features:

  • Effortless Caching: Cache any database query or model operation with ease.
  • Flexible Configuration: Fine-tune cache times and define tags for granular control.
  • Automatic Tagging: Tag each request with the TagForRequestMiddleware for more precise management.
  • Clear Cache with Ease: Utilize the query:cache-flush command to clear all cached queries.
  • Automatic Cache Invalidation: The FlushCacheObserver automatically flushes cache entries when models are created, updated, or deleted.
  • Simplified Cache Management: Leverage the ModelCacheTrait for generating cache keys and managing cache times for your models.
  • Open Source: Contribute to the package's growth and benefit from the community.

Ready to Get Started?

Installation is a breeze:

  1. composer require tattran22/repository
  2. php artisan vendor:publish --provider="TatTran\Repository\RepositoryServiceProvider"
  3. Configure settings in config/repository.php

Documentation and Support:

For detailed usage instructions, configuration options, and contribution guidelines, head over to the project's GitHub repository: TatTran Repository.

License:

This package is free to use under the MIT license and developed by Tat Tran

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-02-22