Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
munafio committed Jun 18, 2021
1 parent 8d5f33e commit 86fc1f7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file.

## v1.2.2 - (2021-05-30)
## v1.2.2 - (2021-06-01)

### Fixed

Expand Down
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,18 @@

# Chatify Laravel Package

A Laravel package that allows you to add a complete user messaging system into your new/existing Laravel application with only a few easy steps.
A Laravel package helps you add a complete real-time messaging system to your new / existing application with only one command.

# Requirements
# Prerequisites

- PHP >=5.3.2.
- Laravel >=5.4
- Pusher Api Account.

# Updates (2021-06-1)

- New release v1.2.2, see [What's new](https://github.com/munafio/chatify/blob/master/CHANGELOG.md)

# Features

<img src="https://1.bp.blogspot.com/-KSPiLL3tq_o/XgpLmCgWAuI/AAAAAAAAA6w/n6m4k2MC1joNMgKS6Vpki2-3z92HXUvQwCLcBGAsYHQ/s1600/Screenshot%2Bfrom%2B2019-12-30%2B21-59-55.png" style="width:50%;" />
Expand All @@ -36,14 +40,26 @@ A Laravel package that allows you to add a complete user messaging system into y

# Demo

- Live Demo [SOON].
- [Live Demo](https://chatify-demo.munafio.com/)

Register a new user or login using the credentials below :

```
email : [email protected]
password : demo1234
```

- Demo app - [Click Here](https://github.com/munafio/chatify-demo).
- Video on YouTube - [Click Here](https://youtu.be/gjo74FUJJPI)

# Documentation

You can see the full documentation [here](https://chatify.munafio.com)

# Change log

[CHANGELOG.md](https://github.com/munafio/chatify/blob/master/CHANGELOG.md)

## Author

[Munaf A. Mahdi](https://www.munafio.com/p/contact-me.html)
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Controllers/MessagesController.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function fetch(Request $request)
// send the response
return Response::json([
'count' => $query->count(),
'messages' => '<p class="message-hint"><span>Say \'hi\' and start messaging</span></p>',
'messages' => '<p class="message-hint center-el"><span>Say \'hi\' and start messaging</span></p>',
]);
}

Expand Down Expand Up @@ -262,7 +262,7 @@ public function getContacts(Request $request)

// send the response
return Response::json([
'contacts' => $users->count() > 0 ? $contacts : '<br><p class="message-hint"><span>Your contatct list is empty</span></p>',
'contacts' => $users->count() > 0 ? $contacts : '<br><p class="message-hint"><span>Your contact list is empty</span></p>',
], 200);
}

Expand Down

0 comments on commit 86fc1f7

Please sign in to comment.