pardalsalcap / linter-testimonials
Add management for the testimonials modules of your website
Requires
- php: ^8.1|^8.2
- filament/filament: ^3.0-stable
- illuminate/contracts: ^10.0|^11.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- larastan/larastan: ^2.0.1
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.8
- orchestra/testbench: ^8.8
- pestphp/pest: ^2.20
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
This package is auto-updated.
Last update: 2024-11-10 11:48:43 UTC
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.