https://github.com/mrpunyapal/livewire-chat-app
Livewire Chat App with Laravel Reverb
https://github.com/mrpunyapal/livewire-chat-app
chat chat-application laravel livewire reverb
Last synced: about 1 year ago
JSON representation
Livewire Chat App with Laravel Reverb
- Host: GitHub
- URL: https://github.com/mrpunyapal/livewire-chat-app
- Owner: MrPunyapal
- Created: 2024-08-31T14:32:32.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T16:34:20.000Z (about 1 year ago)
- Last Synced: 2025-04-09T23:14:04.655Z (about 1 year ago)
- Topics: chat, chat-application, laravel, livewire, reverb
- Language: PHP
- Homepage:
- Size: 438 KB
- Stars: 83
- Watchers: 3
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Livewire Chat App
### It's WIP check [Timeline](timeline.md)
## Getting Started ๐
These instructions will guide you through setting up the project on your local machine for development and testing.
### Prerequisites
You need to have installed the following software:
- PHP 8.3
- Composer 2.0.8
- Node 20.10.0
### Installing
Follow these steps to set up a development environment:
1. **Clone the repository**
```bash
git clone https://github.com/mrpunyapal/livewire-chat-app.git
```
2. **Install dependencies**
```bash
composer install
```
```bash
npm install
```
3. **Duplicate the .env.example file and rename it to .env**
```bash
cp .env.example .env
```
4. **Generate the application key**
```bash
php artisan key:generate
```
5. **Run migration and seed**
```bash
php artisan migrate --seed
```
6. **Run the application**
```bash
npm run dev
```
```bash
php artisan serve
```
## How to Test the Application ๐งช
- Copy .env.testing.example to .env.testing
- Run the following commands
```bash
php artisan key:generate --env=testing
```
```bash
npm install && npm run build
```
```bash
# Lint the code using Pint
composer lint
composer test:lint
# Refactor the code using Rector
composer refactor
composer test:refactor
# Run PHPStan
composer test:types
# Run type coverage
composer test:type-coverage
# Run the test suite
composer test:unit
# Run all the tests
composer test
```
Check [composer.json](/composer.json#L57-L71) for more details on scripts.
### Give Feedback ๐ฌ
Give your feedback on [@MrPunyapal](https://x.com/MrPunyapal)
### Contribute ๐ค
Contribute if you have any ideas to improve this project.