Skip to content

Commit

Permalink
Fixed readme for newer symfony versions
Browse files Browse the repository at this point in the history
  • Loading branch information
toooni committed Feb 17, 2021
1 parent 4e4b09a commit 97f5b86
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,22 @@ This bundle creates a Symfony wrapper service for the official Plivo PHP helper
composer require invit/plivo-bundle
```

Also, enable the bundle in the kernel:
Also, enable the bundle in bundles.php:

``` php
<?php
// app/AppKernel.php

public function registerBundles()
{
$bundles = array(
// ...
new Invit\PlivoBundle\InvitPlivoBundle(),
);
}
// config/bundles.php

return [
...
Invit\PlivoBundle\InvitPlivoBundle::class => ['all' => true],
...
];
```

Configure the application with the credentials you find on the [plivo dashboard](https://manage.plivo.com/dashboard/).

``` yaml
// app/config/config.yml:
invit_plivo:
auth:
auth_id: "xxxxx"
Expand Down

0 comments on commit 97f5b86

Please sign in to comment.