Open-Source Laravel Package · 2025
Laravel FreeSWITCH ESL
Overview
Laravel FreeSWITCH ESL is an open-source package that connects Laravel applications to a FreeSWITCH telephony server through its Event Socket Layer (ESL).
It handles connection and authentication, provides a fluent API and a facade for running FreeSWITCH commands, and supports per-call server overrides for applications that manage multiple FreeSWITCH nodes.
Key features
- Esl facade and dependency-injectable connection class
- Run any FreeSWITCH API command with Esl::execute()
- Helper methods for status, active channels, active calls, and Sofia SIP profiles
- Per-call host, port, and password overrides for multi-server setups
- Configuration via config/esl.php and environment variables
- Automatic connection handling and custom connection exceptions
Built with
- PHP
- Laravel
- FreeSWITCH
- ESL