Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ In order to connect to your MySQL database, pass a valid DSN string into the pro

```php
$app->register(
new Psamatt\Silex\SpotServiceProvider('mysql://username:password@localhost/db_name')
new Psamatt\Silex\SpotServiceProvider(
'mysql://username:password@localhost/db_name'
)
);
```
In your `index.php`, you can then interact with `Spot` with the following lines:
Expand Down