public static function getToken()
	{
		$client     = new Client();
		$body       = ['UserApiKey'=>config('smsir.api-key'),'SecretKey'=>config('smsir.secret-key'),'System'=>'laravel_v_1_4'];
		$result     = $client->post('http://restfulsms.com/api/Token',['json'=>$body,'connect_timeout'=>30]);
		return json_decode($result->getBody(),true)['TokenKey'];
	}
public static function getToken()
	{
		$client     = new Client();
		$body       = ['UserApiKey'=>config('smsir.api-key'),'SecretKey'=>config('smsir.secret-key'),'System'=>'laravel_v_1_4'];
		$result     = $client->post('http://restfulsms.com/api/Token',['json'=>$body,'connect_timeout'=>30]);
		return json_decode($result->getBody(),true)['TokenKey'];
	}
public static function getToken ( ) { $ client = new Client ( ) ; $ body = [ 'UserApiKey' => config ( 'smsir.api-key' ) , 'SecretKey' => config ( 'smsir.secret-key' ) , 'System' => 'laravel_v_1_4' ] ; $ result = $ client -> post ( 'http://restfulsms.com/api/Token' , [ 'json' => $ body , 'connect_timeout' => 30 ] ) ; return json_decode ( $ result -> getBody ( ) , true ) [ 'TokenKey' ] ; }
this method used in every request to get the token at first.

@return mixed - the Token for use api
this method used in every request to get the token at first .