Gradian is multiple-rating system for Laravel
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
database/migrations
src
.gitignore
LICENSE
README.md
composer.json
phpunit.xml

README.md

Introduction

Gradian provides an glorified way to add categorized ratings to the contents with using it self. Gradian can able to create quetion based -categorized ratings to the model instances with the help of traits.

License

Gradian is open-sourced software licensed under the BSD-2 license

Official Documentation

If you need a category based rating services such as amazon feedbacks, it's the simplest way of it. You can easly create labels for the ratings and you user can able to rate with those labels for the spesific model instance.

Installation

To get started with Gradian, use Composer to add the package to your project's dependencies:

composer require kaankilic/gradian

After installing the Gradian library, register the Kaankilic\Gradian\Providers\GradianServiceProvider in your config/app.php configuration file:

Kaankilic\Gradian\Providers\GradianServiceProvider::class,

Also, add the Gradian facade to the aliases array in your app configuration file:

Kaankilic\Gradian\Facades\Gradian::class

Lastly, Publish the config and language files.

php artisan vendor:publish --provider="Kaankilic\Gradian\Providers\GradianServiceProvider" This command will generate the configrations on your /config folder, and generate the default language folder on your project.