- Composer and Laravel Installer (v2.3.0 and above) installed on your local machine
- Basic knowledge of the Laravel Framework
- Basic knowledge of Vue.js
- A Twilio account
- composer i
- npm i
- php artisan key:generate
- php artisan migrate
- php artisan channel:init
- php artisan channel:newMember
- To enable & usable TWILIO services
TWILIO_AUTH_SID=your_auth_sid TWILIO_AUTH_TOKEN=your_auth_token TWILIO_API_SID=your_api_sid TWILIO_API_SECRET=your_api_secret TWILIO_CHAT_SERVICE_SID=your_chat_service_sid MIX_CHANNEL_SID=your_channel_sid MIX_CHANNEL_ADMIN_ROLE_SID=your_channel_admin_role_sid MIX_CHANNEL_MEMBER_ROLE_SID=your_channel_member_role_sid MIX_CHANNEL_BANNED_ROLE_SID=your_channel_banned_role_sid (this is option member that does not necessary)
- Login to your Twilio dashboard and copy both your Account SID and Auth Token.
- TWILIO_AUTH_SID=your_auth_sid
- TWILIO_AUTH_TOKEN=your_auth_token
- Before you can start using the Twilio Chat API, you need to first create a chat service:
After you name and create your chat service, take note of your Service SID.
- TWILIO_CHAT_SERVICE_SID=your_chat_service_sid
- Getting API Key
- TWILIO_API_SID=your_api_sid
- TWILIO_API_SECRET=your_api_secret
- Getting Channel SID
- MIX_CHANNEL_SID=your_channel_sid
- Getting Member Role SID
- MIX_CHANNEL_ADMIN_ROLE_SID=your_channel_admin_role_sid
- MIX_CHANNEL_MEMBER_ROLE_SID=your_channel_member_role_sid
- View Your Channel with Members, Messages