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.
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
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.
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.