https://github.com/nahid/talk-example
This project is demo for Laravel-Talk package and its also Docker ready
https://github.com/nahid/talk-example
chat docker messaging php talk
Last synced: 9 months ago
JSON representation
This project is demo for Laravel-Talk package and its also Docker ready
- Host: GitHub
- URL: https://github.com/nahid/talk-example
- Owner: nahid
- Created: 2016-12-03T12:08:43.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T14:55:01.000Z (about 3 years ago)
- Last Synced: 2025-04-26T03:18:56.259Z (10 months ago)
- Topics: chat, docker, messaging, php, talk
- Language: PHP
- Homepage: http://github.com/nahid/talk
- Size: 953 KB
- Stars: 132
- Watchers: 12
- Forks: 77
- Open Issues: 43
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Talk Example
This is a demo project for [Laravel-Talk](https://github.com/nahid/talk) package. You can learn from here how to use Talk.
### Announcement
Yes, now Talk Example project is Docker ready.
### Requirements
* Docker
* Docker Compose
### Configurations
If you want to use our default settings then you didn't need to configure anything except Pusher credentials.
But if you want to configure as you want then copy .env.example to .env
```shell
cp .env.example .env
```
then configure your desire settings
and now copy docker-compose.yml.example to docker-compose.yml and configure as you want
```shell
cp docker-compose.yml.example docker-compose.yml
```
Thats it
### Installation
There are no extra panic to install this project just run this command and enjoy
```shell
./talk ready
```
Chill!
#### What contains with Docker?
- PHP 7.1.1
- Nginx
- MySQL 5.7
- Redis
- Supervisor
- Git
- GD Library
- Zip Library
So you no need to Install PHP, no need to manage queue, our system will manage all queue, worker and database system with auto migration and seeding.
Cool nah?
#### For Realtime
If you want to get realtime service from this app you have to configure it first. Goto `config/talk.php` and
enable broadcast. After enabling broadcast please set the Pusher app credentials in pusher section.
```php
return [
'user' => [
'model' => 'App\User'
],
'broadcast' => [
'enable' => false,
'app_name' => 'talk-example',
'pusher' => [
'app_id' => env('PUSHER_APP_ID'),
'app_key' => env('PUSHER_KEY'),
'app_secret' => env('PUSHER_SECRET')
]
]
];
````
Now open you project in browser and goto http://localhost:8088. Then login with the given user credentials
> email: talk@example.com
> password: 123456
So, Lets start you journey :)
Here is a project screenshot that was developed by Talk.

## Template Credit
Template - [Live chat window widget](http://www.bypeople.com/live-chat-window-widget/ ) by [SergioGalindo](http://www.bypeople.com/author/uakala/)