https://github.com/scotch-io/laravel-shoutbox
A simple shoutbox that demonstrates laravel event broadcasting
https://github.com/scotch-io/laravel-shoutbox
Last synced: about 1 month ago
JSON representation
A simple shoutbox that demonstrates laravel event broadcasting
- Host: GitHub
- URL: https://github.com/scotch-io/laravel-shoutbox
- Owner: scotch-io
- Created: 2015-09-28T02:47:25.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-12T23:06:41.000Z (over 9 years ago)
- Last Synced: 2025-03-26T17:47:33.865Z (about 2 months ago)
- Language: PHP
- Size: 297 KB
- Stars: 10
- Watchers: 5
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Scotchbox
Scotchbox is a simple shoutbox built for [https://scotch.io](Scotch.io) which demonstrates the use of Laravel's event system.
## Setup
Create
.env
file and add the required basic configurations```
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomKey!!!DB_HOST=db_host
DB_DATABASE=db_name
DB_USERNAME=db_user
DB_PASSWORD=db_passwordPUSHER_KEY=pusher_key
PUSHER_SECRET=pusher_secret
PUSHER_APP_ID=pusher_app_id```
After that, run the following artisan commands
```
php artisan migrate
```Finally serve the application and view from your web browser at the specified host and port
```
php artisan serve
```
Enjoy.