Download the PHP package dewsign/nova-testimonials without Composer
On this page you can find all versions of the php package dewsign/nova-testimonials. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dewsign/nova-testimonials
More information about dewsign/nova-testimonials
Files in dewsign/nova-testimonials
Package nova-testimonials
Short Description A testimonials package for Laravel Nova
License MIT
Informations about the package nova-testimonials
Dewsign Nova Testimonials
A dead simple package to add a testimonials cms to a nova application. Supports testimonial categories out of the box, and is easily extendable to add more functionality.
Usage
For basic testimonial functionality, this package can be used straight out of the box. Simply add some testimonials in the Nova admin, and include one of the default blade templates in your page layouts.
Templates
index.blade.php
- Display all currently active testimonials in the database.
featured.blade.php
- Display all featured
testimonials from all categories.
random.blade.php
- Display a testimonial chosen at random.
Specific Category Output
To only output testimonials from a specific category, you can use the included category.blade.php
. Just pass in a reference to the category model you want to show where you are including the blade template.
Customisation and Extending
Whilst this package will work fine as it is, it has been designed to act as a baseline and be extended to fit what each application needs. This is easily achieved by creating a model and resource for the Testimonial
and/or TestimonialCategory
, extending the package classes, and updating the config file.
Note: If you are extending a model, you MUST extend the resource too
Images
You can use your preferred image field & disk by replacing the default in the nova-testimonials.php
config. By default the Nova Image field is used.
All versions of nova-testimonials with dependencies
laravel/framework Version >=5.0.0
dewsign/nova-field-sortable Version ^0.1.3
maxfactor/support Version ^2.2.2