php: added resend command from javascript

Signed-off-by: Kiveisha Yevgeniy <yevgeniy.kiveisha@intel.com>