Skip to content

Commit 0fc5dd8

Browse files
committed
update readme
1 parent c09b2d0 commit 0fc5dd8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
2-
# Attach a conversation to any model and easily create a chat
1+
# Attach a conversation to any model and easily create a chat
32

43
[![Latest Version on Packagist](https://img.shields.io/packagist/v/finller/laravel-conversations.svg?style=flat-square)](https://packagist.org/packages/finller/laravel-conversations)
5-
[![GitHub Tests Action Status](https://img.shields.io/github/workflow/status/finller/laravel-conversations/run-tests?label=tests)](https://github.com/finller/laravel-conversations/actions?query=workflow%3Arun-tests+branch%3Amain)
6-
[![GitHub Code Style Action Status](https://img.shields.io/github/workflow/status/finller/laravel-conversations/Fix%20PHP%20code%20style%20issues?label=code%20style)](https://github.com/finller/laravel-conversations/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
4+
[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/finller/laravel-conversations/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/finller/laravel-conversations/actions?query=workflow%3Arun-tests+branch%3Amain)
5+
[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/finller/laravel-conversations/fix-php-code-style-issues.yml?branch=main&label=code%20style&style=flat-square)](https://github.com/finller/laravel-conversations/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amain)
76
[![Total Downloads](https://img.shields.io/packagist/dt/finller/laravel-conversations.svg?style=flat-square)](https://packagist.org/packages/finller/laravel-conversations)
87

98
This package the basic architecture of a chat between multiple users.
@@ -63,6 +62,7 @@ return [
6362
## Usage
6463

6564
### 1. Create the conversation
65+
6666
```php
6767
$conversation = new Conversation();
6868

@@ -75,6 +75,7 @@ $conversation->users()->sync($usersIds);
7575
```
7676

7777
### 2. Save messages in the conversation
78+
7879
```php
7980

8081
$message = new Message([
@@ -107,8 +108,8 @@ Please review [our security policy](../../security/policy) on how to report secu
107108

108109
## Credits
109110

110-
- [Quentin Gabriele](https://github.com/quentinGab)
111-
- [All Contributors](../../contributors)
111+
- [Quentin Gabriele](https://github.com/quentinGab)
112+
- [All Contributors](../../contributors)
112113

113114
## License
114115

0 commit comments

Comments
 (0)