It's WIP check Timeline
These instructions will guide you through setting up the project on your local machine for development and testing.
You need to have installed the following software:
- PHP 8.3
- Composer 2.0.8
- Node 20.10.0
Follow these steps to set up a development environment:
-
Clone the repository
git clone https://github.com/mrpunyapal/livewire-chat-app.git
-
Install dependencies
composer install
npm install
-
Duplicate the .env.example file and rename it to .env
cp .env.example .env
-
Generate the application key
php artisan key:generate
-
Run migration and seed
php artisan migrate --seed
-
Run the application
npm run dev
php artisan serve
-
Copy .env.testing.example to .env.testing
-
Run the following commands
php artisan key:generate --env=testing
npm install && npm run build
# 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 for more details on scripts.
Give your feedback on @MrPunyapal
Contribute if you have any ideas to improve this project.