streply/streply-symfony

Streply Symfony SDK

0.0.27 2024-05-15 19:32 UTC

README

Install

Install the streply/streply-symfony package:

composer require streply/streply-symfony

Enable bundle

Add the bundle to the list of registered bundles in config/bundles.php

return [
    Streply\StreplyBundle\StreplyBundle::class => ['all' => true]
];

Config

Add default configuration in config/packages/streply.yaml

streply:
  dsn: '%env(STREPLY_DSN)%'

Environment variable

Add DSN info to .env file

###> streply/streply-bundle ###
STREPLY_DSN="https://clientPublicKey@api.streply.com/projectId"
###< streply/streply-bundle ###