Skip to content

Commit 315b569

Browse files
author
Jarosław Wasilewski
committed
Switch to Laminas framework
1 parent df3f488 commit 315b569

File tree

3 files changed

+25
-13
lines changed

3 files changed

+25
-13
lines changed

composer.json

+19-7
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@
33
"description": "PHP library for sending SMS through various gateways",
44
"type": "library",
55
"license": "MIT",
6-
"keywords": ["sms", "library", "SerwerSMS", "Clickatell", "SMSApi", "SmsCenter", "Infobip", "Cisco"],
6+
"keywords": [
7+
"sms",
8+
"library",
9+
"SerwerSMS",
10+
"Clickatell",
11+
"SMSApi",
12+
"SmsCenter",
13+
"Infobip",
14+
"Cisco"
15+
],
716
"homepage": "https://github.com/Orajo/sms-zilla",
817
"authors": [
918
{
@@ -17,8 +26,9 @@
1726
"smsapi.pl/php-client": "^1.7",
1827
"mlebkowski/mobitex": "1.0.*",
1928
"giggsey/libphonenumber-for-php": "8.*",
20-
"zendframework/zend-http": "2.*",
21-
"serwersms/serwersms-php-client": "1.0.2"
29+
"laminas/laminas-http": "2.*",
30+
"serwersms/serwersms-php-client": "1.0.2",
31+
"laminas/laminas-dependency-plugin": "^2.1"
2232
},
2333
"require-dev": {
2434
"phpunit/phpunit": "5.*"
@@ -27,9 +37,11 @@
2737
"psr-0": {
2838
"SmsZilla\\": "src/"
2939
},
30-
"psr-4": {
31-
"SmsZilla\\": "src/SmsZilla/"
32-
},
33-
"classmap": ["src/"]
40+
"psr-4": {
41+
"SmsZilla\\": "src/SmsZilla/"
42+
},
43+
"classmap": [
44+
"src/"
45+
]
3446
}
3547
}

docs/source-class-SmsZilla.Adapter.InfobipAdapter.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ <h3>Exceptions</h3>
146146
</span><span id="13" class="l"><a href="#13"> 13 </a><span class="php-keyword1">use</span> SmsZilla\MessageInterface;
147147
</span><span id="14" class="l"><a href="#14"> 14 </a><span class="php-keyword1">use</span> SmsZilla\SendingError;
148148
</span><span id="15" class="l"><a href="#15"> 15 </a><span class="php-keyword1">use</span> SmsZilla\SmsMessageModel;
149-
</span><span id="16" class="l"><a href="#16"> 16 </a><span class="php-keyword1">use</span> Zend\Http\Client;
150-
</span><span id="17" class="l"><a href="#17"> 17 </a><span class="php-keyword1">use</span> Zend\Http\Request;
151-
</span><span id="18" class="l"><a href="#18"> 18 </a><span class="php-keyword1">use</span> Zend\Http\Response;
149+
</span><span id="16" class="l"><a href="#16"> 16 </a><span class="php-keyword1">use</span> Laminas\Http\Client;
150+
</span><span id="17" class="l"><a href="#17"> 17 </a><span class="php-keyword1">use</span> Laminas\Http\Request;
151+
</span><span id="18" class="l"><a href="#18"> 18 </a><span class="php-keyword1">use</span> Laminas\Http\Response;
152152
</span><span id="19" class="l"><a href="#19"> 19 </a>
153153
</span><span id="20" class="l"><a href="#20"> 20 </a><span class="php-comment">/**
154154
</span></span><span id="21" class="l"><a href="#21"> 21 </a><span class="php-comment"> * Send message through infobip.com provider.

src/SmsZilla/Adapter/InfobipAdapter.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
use SmsZilla\MessageInterface;
1414
use SmsZilla\SendingError;
1515
use SmsZilla\SmsMessageModel;
16-
use Zend\Http\Client;
17-
use Zend\Http\Request;
18-
use Zend\Http\Response;
16+
use Laminas\Http\Client;
17+
use Laminas\Http\Request;
18+
use Laminas\Http\Response;
1919

2020
/**
2121
* Send message through infobip.com provider.

0 commit comments

Comments
 (0)