Clone the repo locally:
git clone https://github.com/msahidurr/agora-video-call-app-laravel.git && cd agora-video-call-app-laravelInstall PHP dependencies:
composer install && npm install && npm run buildSetup configuration:
cp .env.example .envGenerate application key:
php artisan key:generateCreate an SQLite database. You can also use another database (MySQL, Postgres), simply update your configuration accordingly.
touch database/database.sqliteRun database migrations:
php artisan migrateRun database seeder:
php artisan db:seedAdd 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.jsonTest user:
email: testone@example.com
password: 123456email: testtwo@example.com
password: 123456email: testthree@example.com
password: 123456If you find my work helpful, you can support me by buying me a coffee!