Skip to content

pardalsalcap/linter-testimonials

Repository files navigation

Add management for the testimonials modules of your website

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages