Download the PHP package core23/shariff-bundle without Composer
On this page you can find all versions of the php package core23/shariff-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package shariff-bundle
NucleosShariffBundle
This bundle provides a wrapper for using shariff inside the symfony sonata-project.
Installation
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles in config/bundles.php
file of your project:
Define cache, http client and request factory:
Assets
It is recommended to use webpack / webpack-encore
to include the shariff.js
and shariff.css
file in your page.
You can use npm or yarn to load the library:
Configure the Bundle
Create a configuration file called nucleos_shariff.yaml
:
Create a configuration file called framework_cache.yaml
:
Usage
Configure the Bundle
You can globally configure the services that should count the likes or favorites for a page.
This is a fork of shariff-php with a more modern and dynamic solution.
License
This bundle is under the MIT license.
All versions of shariff-bundle with dependencies
ext-json Version *
psr/cache Version ^1.0 || ^2.0 || ^3.0
psr/http-client Version ^1.0
psr/http-message Version ^1.0
sonata-project/block-bundle Version ^3.21 || ^4.5.1
sonata-project/form-extensions Version ^1.0
symfony/config Version ^5.4 || ^6.0
symfony/dependency-injection Version ^5.4 || ^6.0
symfony/expression-language Version ^5.4 || ^6.0
symfony/form Version ^5.4 || ^6.0
symfony/framework-bundle Version ^5.4 || ^6.0
symfony/http-foundation Version ^5.4 || ^6.0
symfony/http-kernel Version ^5.4 || ^6.0
symfony/options-resolver Version ^5.4 || ^6.0
symfony/twig-bundle Version ^5.4 || ^6.0