Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 648 Bytes

README.md

File metadata and controls

32 lines (26 loc) · 648 Bytes

Streply SDK for Symfony framework

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 ###