Skip to content

streply/streply-symfony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

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