Download the PHP package hounddd/wn-reviews-plugin without Composer

On this page you can find all versions of the php package hounddd/wn-reviews-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wn-reviews-plugin

Review plugin for WinterCMS

Blocks Plugin

Show reviews, ratings or testimonials of your customers. No other plugin dependency.

Features

Installation

Let assume you're in the root of your wintercms installation

Using composer

Just run this command

Clone

Clone this repo into your winter plugins folder.

Note: In both cases, run php artisan winter:up command to run plugin's migrations

Components

This plugin offer 2 components also availables as page snippets for Winter.Page plugin.

Show reviews with reviews component

reviews component properties

Property Type Description
pageNumber String Page parameter for pagination.
Default: '{{ :page }}'
reviewsPerPage String Numbre of reviews per page.
Default: '10'
categoryFilter String Either a category slug or the page parameter to use for filtering categories.
Default: ''
noReviewsMessage String Default: the lang.components.general.no_reviews_default key for translation file in use
sortOrder String The sorting order to use.
Possibles values:
  • title asc
  • title desc
  • created_at asc
  • created_at desc
  • updated_at asc
  • updated_at desc
  • rating asc
  • rating desc
  • random

Default: 'created_at desc'
ratingDisplay String Rating display type
Possibles values:
  • none: rating is not displayed
  • stars: use stars
  • text: use text
  • both: use both stars and text

Default:'both'

Show reviews with reviewsSlider component

By default, the component lets you choose between different types of slider:

reviewsSlider component properties

Property Type Description
sliderType String The slider type to render.
Possibles values
Possibles values:
  • tailwind_alpine
  • tiny_slider

Default: 'tiny_slider'
categoryFilter String Either a category slug or the page parameter to use for filtering categories.
Default: ''
noReviewsMessage String Default: the lang.components.general.no_reviews_default key for translation file in use
sortOrder String The sorting order to use.
Possibles values:
  • title asc
  • title desc
  • created_at asc
  • created_at desc
  • updated_at asc
  • updated_at desc
  • rating asc
  • rating desc
  • random

Default: 'created_at desc'
ratingDisplay String Rating display type
Possibles values:
  • none: rating is not displayed
  • stars: use stars
  • text: use text
  • both: use both stars and text

Default:'both'
showDots Boolean Show dots navigation in review slider
Default: 0
showControls Boolean Show control buttons in review slider
Default: 0
showCounter Boolean Show a reviews counter
Default: 0
autoPlay String The delay in seconds before the slider must show the next review.
Default: '0' (disabled)
loadScripts Boolean The required scripts must be loaded by the component.
Default: 1

Sliders make use of javascript to control the slides, the needed scripts will be loaded automatically if you set the loadScripts component property to true.

Note: ⚠ As Tailwind is an utility CSS framework, it will not be loaded by the component. If you're using Tailwind CSS and Alpine JS slider, you may need to add the component's path to the content property of your theme's tailwind.config.js file.

🏆 Credits

Inspired by Mja.Testimonials VojtaSvoboda.Reviews plugin


Make awesome sites with ❄ WinterCMS!


All versions of wn-reviews-plugin with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
composer/installers Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hounddd/wn-reviews-plugin contains the following files

Loading the files please wait ....