yoelpc4 / whatsapp-client

An example project to utilize whatsapp service.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Whatsapp Client

An example project to utilize whatsapp service with features:

  • Manage sender
  • Manage receiver
  • Send message to person / group with log message

Installation

  • Install project dependencies
composer install
  • Copy environment file then adjust the value with local machine configuration
cp .env.example .env
  • Generate encryption key
php artisan key:generate
  • Run migrations and seeders
php artisan migrate --seed
  • Adjust the whatsapp service url on environment file

  • Clear config in order to reflect changes from .env to the configuration file

php artisan config:clear

Serve

  • Serve the application with artisan CLI then open the app on the browser on http://localhost:8000
php artisan serve
  • If you want to use laravel sail, turn off any service/web server that used port 80 on your local machine start your docker service then you can update the .env file contents
APP_URL=http://localhost
DB_HOST=mysql

serve with sail artisan CLI then open the app on the browser on http://localhost

./vendor/bin/sail up -d

run migration with command

./vendor/bin/sail artisan migrate

About

An example project to utilize whatsapp service.


Languages

Language:PHP 51.3%Language:Vue 47.5%Language:JavaScript 1.0%Language:Blade 0.2%Language:CSS 0.0%