pardalsalcap/linter-testimonials
最新稳定版本:v0.1.2
Composer 安装命令:
composer require pardalsalcap/linter-testimonials
包简介
Add management for the testimonials modules of your website
README 文档
README
This package adds management for the testimonials modules of your website. It includes a trait to add to your models and a controller to manage the testimonials. It needs Filament to work, and includes resources and relation managers to use with it.
Installation
You can install the package via composer:
composer require pardalsalcap/linter-testimonials
You can publish and run the migrations with:
php artisan vendor:publish --tag="linter-testimonials-migrations"
php artisan migrate
Usage
To include use the resources you can create a resource that extends the package on and modify as needed:
<?php namespace App\Filament\Resources; class TestimonialResource extends \Pardalsalcap\LinterTestimonials\Resources\TestimonialResource { }
You can add the trait to your model:
use Pardalsalcap\LinterTestimonials\Traits\HasTestimonials;
This will add a testimonials relation to your model. From there you can retrieve the testimonials details.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-12-12