/** * Create an instance of the EZTexting driver. * * @return EZTextingSMS */ protected function createEztextingDriver() { $config = $this->app['config']->get('sms.eztexting', []); $provider = new EZTextingSMS(new Client()); $data = ['User' => $config['username'], 'Password' => $config['password']]; $provider->buildBody($data); return $provider; }
protected function buildEZTexting() { $provider = new EZTextingSMS(new Client()); $data = ['User' => config('sms.eztexting.username'), 'Password' => config('sms.eztexting.password')]; $provider->buildBody($data); return $provider; }