PHPackages                             evp/gsms-php-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. evp/gsms-php-client

ActiveLibrary[API Development](/categories/api)

evp/gsms-php-client
===================

gsms.lt API PHP client

0.2(10y ago)118.9k11PHP

Since Oct 23Pushed 5y agoCompare

[ Source](https://github.com/evp/GsmsPHPClient)[ Packagist](https://packagist.org/packages/evp/gsms-php-client)[ RSS](/packages/evp-gsms-php-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (1)

\#GsmsPhpClient

\##What is GsmsPhpClient? GsmsPhpClient is a helper-library, that will allow you to easily integrate sending SMS messages functionality into your website if you are in possession of an active Gsms.lt account with a positive balance.

In short: this is a wrapper for the existing Gsms.lt API - [Download DOC format specification](https://www.gsms.lt/f/gsms_specifikacija.doc)

\##Sections

- [Requirements](#requirements)
- [Installation](#installation)
- [Code samples](#code-samples)
- [Additional notes](#additional-notes)
- [Contact Us](#contacts)

\##Requirements

- An active gsms.lt account
- PHP 5.1.2+

\##Installation

- Use `git clone https://github.com/evp/GsmsPHPClient.git` to copy the GsmsPHPClient directory to your project directory.
- Add the following code to your PHP file where you intend to use the SMS send functionality:

```
   require_once '/path/to/GsmsPHPClient/src/Evp/Gsms/Autoloader.php';
   Evp_Gsms_Autoloader::register();
```

This will ensure that all of the library's classes are properly loaded. Make sure you change the 'path/to' to the actual path of the GsmsPHPClient.

Congratulations, you have successfully installed GsmsPHPClient!

\##Code samples Once you have installed the library, you are now ready to create a Gsms\_Client

```
  $client = Evp_Gsms_Client::newInstance('username', 'password')

```

Where "username" and "password" are your gsms.lt account login and password accordingly.

Now use the client to send your first SMS message:

```
$response = $client->send('Your telephone number', 'Receiver telephone number', 'message');
```

You are only allowed to send SMS from the numbers that have been added to your account via gsms.lt web interface, which means that you are not to specify a random telephone number as the first parameter of the send method.

Now check if the SMS you sent has completed without a hitch with the $response object that Gsms\_Client::send method returns.

```
    if ($response->isSuccessful()) {
           // Do something when the sms has been sent
       } else {
           // Do something when the sms has not been sent
           $lastResponse = $client->getLastResponse();
       }
```

The $lastResponse string will provide feedback from the API and will help you debug any issues you might encounter.

\##Additional notes Gsms\_Client::send method will throw an exception if the response from the API is invalid. It is always a good idea to wrap a try-catch clause around your code in to anticipate such behaviour

```
  try {
    # This is where you send your message
  } catch (Evp_Gsms_Exception $e) {
      $e->getMessage();
      $client->getLastResponse();
  }
```

\##Contacts If you have any further questions feel free to contact us:

"EVP International", UAB
Mėnulio g. 7
LT-04326 Vilnius
Email:
Tel. +370 (5) 2 03 27 19
Faksas +370 (5) 2 63 91 79

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3861d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a3643862360b8cec6c60721a70d33acd7c6f3c68744a1fa3e81f1eecb6332e1?d=identicon)[gsms.lt](/maintainers/gsms.lt)

---

Top Contributors

[![vytautasgimbutas](https://avatars.githubusercontent.com/u/1172971?v=4)](https://github.com/vytautasgimbutas "vytautasgimbutas (4 commits)")[![mariusbalcytis](https://avatars.githubusercontent.com/u/1590072?v=4)](https://github.com/mariusbalcytis "mariusbalcytis (2 commits)")

### Embed Badge

![Health badge](/badges/evp-gsms-php-client/health.svg)

```
[![Health](https://phpackages.com/badges/evp-gsms-php-client/health.svg)](https://phpackages.com/packages/evp-gsms-php-client)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
