Clone the repo locally:
git clone https://github.com/msahidurr/agora-video-call-app-laravel.git && cd agora-video-call-app-laravel
Install PHP dependencies:
composer install && npm install && npm run build
Setup configuration:
cp .env.example .env
Generate application key:
php artisan key:generate
Create an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.
touch database/database.sqlite
Run database migrations:
php artisan migrate
Run database seeder:
php artisan db:seed
Add agora app id and app certificate in .env
file:
AGORA_APP_ID=
AGORA_APP_CERTIFICATE=
If you are using web p2p call then you can integrate pusher credentials:
PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=
Or, if you are using web to mobile application then add the firebase_credentials.json on .env
file:
FIREBASE_CREDENTIALS=storage/app/firebase/firebase_credentials.json
Test user:
email: [email protected]
password: 123456
email: [email protected]
password: 123456
email: [email protected]
password: 123456
If you find my work helpful, you can support me by buying me a coffee!