All Projects → kavenegar → kavenegar-php

kavenegar / kavenegar-php

Licence: other
Kavenegar API Client Writen In PHP

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to kavenegar-php

kavenegar-dotnet
Kavenegar API Client Writen In C#
Stars: ✭ 24 (-46.67%)
Mutual labels:  sms, kavenegar, kavenegar-sdk
kavenegar-node
Kavenegar API Client Writen In Node
Stars: ✭ 34 (-24.44%)
Mutual labels:  sms, kavenegar, kavenegar-sdk
org-mode-sms-inbox
Harvest org-mode todos with Dropbox, Twilio, and IFTTT.
Stars: ✭ 19 (-57.78%)
Mutual labels:  sms
woapp
web模拟安卓操作系统,php开发,内置文件管理,电话,短信,拍照,用在树莓派上可做智能家居,视频监控,机顶盒等……
Stars: ✭ 22 (-51.11%)
Mutual labels:  sms
pygrappa
Python implementations of GRAPPA-like algorithms.
Stars: ✭ 43 (-4.44%)
Mutual labels:  sms
module-twilio
Magento 2 Customer SMS notifications with Twilio
Stars: ✭ 29 (-35.56%)
Mutual labels:  sms
smsender
A Go server for sending SMS
Stars: ✭ 32 (-28.89%)
Mutual labels:  sms
twilito
A tiny, zero dependency Ruby helper for sending text messages with Twilio 💬
Stars: ✭ 16 (-64.44%)
Mutual labels:  sms
helios
A Java-based Sega Mega Drive/Genesis emulator. And other systems too.
Stars: ✭ 14 (-68.89%)
Mutual labels:  sms
jusibe
📲 JavaScript client for Jusibe.com SMS API service. http://jusibe.com
Stars: ✭ 24 (-46.67%)
Mutual labels:  sms
android-messages-desktop
Android Messages as a Cross-platform Desktop App
Stars: ✭ 144 (+220%)
Mutual labels:  sms
mouth
Simple adapter based SMS sending library
Stars: ✭ 29 (-35.56%)
Mutual labels:  sms
totalvoice-node
Client em NodeJS para API da Totalvoice
Stars: ✭ 54 (+20%)
Mutual labels:  sms
46elks-getting-started
An introduction to the 46elks API with code examples
Stars: ✭ 45 (+0%)
Mutual labels:  sms
LaravelSms
package for send sms with laravel (All gatways in Iran)
Stars: ✭ 14 (-68.89%)
Mutual labels:  sms
Reborn
ReborN SMS BOMBER | SpeedX & 4NAT
Stars: ✭ 126 (+180%)
Mutual labels:  sms
FreeMobileSMS
🐍📲 Python client to send SMS via french mobile operator Free Mobile
Stars: ✭ 22 (-51.11%)
Mutual labels:  sms
laravelbdsms
Xenon\LaravelBDSms is a sms gateway package for sending text message to Bangladeshi mobile numbers using several gateways like sslcommerz, greenweb, dianahost, metronet,boomcast, bulksmsbd, banglalink from Laravel framework
Stars: ✭ 68 (+51.11%)
Mutual labels:  sms
actions-sms
Send an SMS through GitHub Actions
Stars: ✭ 108 (+140%)
Mutual labels:  sms
security-code
A powerful security code input supports dynamic configuration of the number of input boxes.
Stars: ✭ 63 (+40%)
Mutual labels:  sms

kavenegar-PHP

Latest Stable Version Total Downloads

Kavenegar RESTful API Document

If you need to future information about API document Please visit RESTful Document

Installation

First of all, You need to make an account on Kavenegar from Here

After that you just need to pick API-KEY up from My Account section.


Use in these ways :

composer require kavenegar/php

or add

"kavenegar/php": "*"

And run following command to download extension using composer

$ composer update

Usage

Well, There is an example to Send SMS by PHP.

require __DIR__ . '/vendor/autoload.php';

try{
	$api = new \Kavenegar\KavenegarApi( "API Key" );
	$sender = "10004346";
	$message = "خدمات پیام کوتاه کاوه نگار";
	$receptor = array("09123456789","09367891011");
	$result = $api->Send($sender,$receptor,$message);
	if($result){
		foreach($result as $r){
			echo "messageid = $r->messageid";
			echo "message = $r->message";
			echo "status = $r->status";
			echo "statustext = $r->statustext";
			echo "sender = $r->sender";
			echo "receptor = $r->receptor";
			echo "date = $r->date";
			echo "cost = $r->cost";
		}		
	}
}
catch(\Kavenegar\Exceptions\ApiException $e){
	// در صورتی که خروجی وب سرویس 200 نباشد این خطا رخ می دهد
	echo $e->errorMessage();
}
catch(\Kavenegar\Exceptions\HttpException $e){
	// در زمانی که مشکلی در برقرای ارتباط با وب سرویس وجود داشته باشد این خطا رخ می دهد
	echo $e->errorMessage();
}

/*
sample output
{
    "return":
    {
        "status":200,
        "message":"تایید شد"
    },
    "entries": 
    [
        {
            "messageid":8792343,
            "message":"خدمات پیام کوتاه کاوه نگار",
            "status":1,
            "statustext":"در صف ارسال",
            "sender":"10004346",
            "receptor":"09123456789",
            "date":1356619709,
            "cost":120
        },
        {
            "messageid":8792344,
            "message":"خدمات پیام کوتاه کاوه نگار",
            "status":1,
            "statustext":"در صف ارسال",
            "sender":"10004346",
            "receptor":"09367891011",
            "date":1356619709,
            "cost":120
        }
    ]
}
*/

Contribution

Bug fixes, docs, and enhancements welcome! Please let us know [email protected]


راهنما

معرفی سرویس کاوه نگار

کاوه نگار یک وب سرویس ارسال و دریافت پیامک و تماس صوتی است که به راحتی میتوانید از آن استفاده نمایید.

ساخت حساب کاربری

اگر در وب سرویس کاوه نگار عضو نیستید میتوانید از لینک عضویت ثبت نام و اکانت آزمایشی برای تست API دریافت نمایید.

مستندات

برای مشاهده اطلاعات کامل مستندات وب سرویس پیامک به صفحه مستندات وب سرویس مراجعه نمایید.

راهنمای فارسی

در صورتی که مایل هستید راهنمای فارسی کیت توسعه کاوه نگار را مطالعه کنید به صفحه کد ارسال پیامک مراجعه نمایید.

اطالاعات بیشتر

برای مطالعه بیشتر به صفحه معرفی وب سرویس اس ام اس کاوه نگار مراجعه نمایید .

اگر در استفاده از کیت های سرویس کاوه نگار مشکلی یا پیشنهادی داشتید ما را با یک Pull Request یا ارسال ایمیل به [email protected] خوشحال کنید.

http://kavenegar.com

http://kavenegar.com

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].