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
TagForRequestMiddlewarefor more precise management. - Clear Cache with Ease: Utilize the
query:cache-flushcommand to clear all cached queries. - Automatic Cache Invalidation: The
FlushCacheObserverautomatically flushes cache entries when models are created, updated, or deleted. - Simplified Cache Management: Leverage the
ModelCacheTraitfor 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:
composer require tattran22/repositoryphp artisan vendor:publish --provider="TatTran\Repository\RepositoryServiceProvider"- 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
其他信息
- 授权协议: Unknown
- 更新时间: 2024-02-22