streply / streply-symfony
Streply Symfony SDK
Fund package maintenance!
streply.com/pricing
streply.com
Requires
- streply/streply-php: *
- symfony/console: ^4.0||^5.0||^6.0
- symfony/dependency-injection: ^4.0||^5.0||^6.0
- symfony/event-dispatcher: ^4.0||^5.0||^6.0
- symfony/http-kernel: ^4.0||^5.0||^6.0
- symfony/security-core: ^4.0||^5.0||^6.0
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 ###