Im trying to use SSH:: command in my controller but I'm facing error:
Class 'SSH' not found
my controller:
namespace App\Http\Controllers;
use Session;
use DB;
use SSH;
and call action:
SSH::run(
array(
'cd /var/www/laravel',
'node accept.js '
)
);
so where the problem could be?