"Call to undefined function curl_init" code example
Example 1: Call to undefined function App\Http\Controllers\curl_init()
sudo apt-get install php5-curl
Example 2: PHP Fatal error: Uncaught Error: Call to undefined function curl_init
sudo apt-get install php-curl