kematjaya / rating-bundle
bundle for generate rating
Installs: 223
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- symfony/config: ^4.0|^5.0
- symfony/dependency-injection: ^4.0|^5.0
- symfony/framework-bundle: ^4.0|^5.0
- symfony/twig-bundle: ^4.0|^5.0
- symfony/yaml: ^4.0|^5.0
Requires (Dev)
- phpunit/phpunit: ^9.0
- symfony/browser-kit: ^4.0|^5.0
- symfony/var-dumper: ^4.0|^5.0
README
- installation
composer require kematjaya/rating-bundle
- add to config/bundles.php
...
Kematjaya\RatingBundle\RatingBundle::class => ['all' => true]
...
- using in template
rating(5)
// or
rating(8, 10)
- add font-awesome css
<link rel="stylesheet" type="text/css" href="{{ asset('bundles/rating/fontawesome/css/fontawesome.min.css') }}"/>