streply / streply-symfony
Streply Symfony SDK
This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.
0.0.27
2024-05-15 19:32 UTC
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 ###