공식 패키지 · 프레임워크
Laravel용 Hibira Live Chat
Blade 컴포넌트 하나로 Laravel 사이트에 Hibira Live Chat 위젯을 넣고, 로그인한 사용자는 본인으로 채팅할 수 있습니다. 이름과 이메일이 서명되어 받은편지함에 전달되므로 누구도 사칭할 수 없습니다.
hibira-io/laravel-live-chatPackagist ↗GitHub ↗
가장 빠른 방법: Hibira 플러그인과 프롬프트 하나
AI 코딩 에이전트에 플러그인을 설치하고 프롬프트를 붙여 넣으세요. 에이전트가 로그인하고, 필요하면 무료 앱을 만들고, 코드를 작성한 뒤 테스트 이벤트를 보냅니다. GitHub ↗
플러그인 설치
claude plugin marketplace add hibira-io/agent-plugin claude plugin install hibira@hibira이 프롬프트 붙여 넣기
Add Hibira Laravel Live Chat (hibira-io/laravel-live-chat) to this project. Follow https://hibira.io/guides/laravel-live-chat, adapted to how this project is already set up. If I have no Hibira app yet, create a Free one that allows http://localhost so I can test right away. Keep the app key and secret in environment variables, add placeholders to .env.example, and never commit real values or send the secret to a browser. When you are done, send a test event, show me it arriving, and list the files you changed.
- 레이아웃에 <x-hibira-live-chat />를 넣거나, InjectLiveChat 미들웨어로 뷰를 건드리지 않고 모든 페이지에 추가할 수 있습니다.
- 로그인한 사용자는 ID의 HMAC으로 식별되어 받은편지함에 누구인지 표시되고, 대화가 기기 간에 이어집니다.
- 직접 만든 버튼과 #hibira-live-chat 링크로 채팅을 열 수 있습니다. 게이트로 페이지별 또는 직원에게 숨길 수 있고, wire:navigate 이동 중에도 열린 상태를 유지합니다.
로그인하면 예제 코드에 내 클러스터 호스트가 채워집니다. 로그인
설치
composer require hibira-io/laravel-live-chat php artisan hibira:live-chat --workspace=ws_YOUR_WORKSPACE사용하기
{{-- resources/views/layouts/app.blade.php, before </body> --}} <x-hibira-live-chat /> <x-hibira-live-chat-open topic="sales">Talk to sales</x-hibira-live-chat-open>
시작하기 전에
- 워크스페이스 ID는 Live Chat 콘솔에서 확인하고, 신원 시크릿은 설정의 인증된 방문자에서 만드세요. 신원 시크릿은 서버에만 둡니다.
- php artisan hibira:live-chat --check로 워크스페이스가 존재하고 APP_URL이 허용되는지 확인합니다.
대시보드의 앱 키를 사용하세요. 시크릿은 서버에만 둡니다. 채널, 이벤트, 인가 엔드포인트는 Pusher와 똑같이 동작합니다. 무료 계정 만들기 →