Download the PHP package trez-sms/new-raygan-sms without Composer

On this page you can find all versions of the php package trez-sms/new-raygan-sms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package new-raygan-sms

RayganSms

RayganSms API for send text messages

Latest Version on Packagist StyleCI Scrutinizer Code Quality Build Status Code Intelligence Status Quality Score Total Downloads

این پکیج امکان اتصال RayganSms API به فریم ورک هایی که جهت نصب پکیج ها از composer و از استاندارد PSR-4 جهت autoload نمودن کلاس ها استفاده می نمایند همانند (Laravel,Yii,symfony) را فراهم می سازد. ## محتوا - [نصب و پیکره بندی](#نصب-و-پیکره-بندی) - [نحوه استفاده](#نحوه-استفاده) - [متدها](#متدها) - [Laravel](#Laravel) - [پیکره بندی در لاراول](#پیکره-بندی-در-لاراول) - [نحوه استفاده در لاراول](#نحوه-استفاده-در-لاراول) - [استفاده در سیستم اعلانات لاراول ](#استفاده-در-سیستم-اعلانات-لاراول) - [تولیدکننده](#تولیدکننده) - [لایسنس](#لایسنس) ## نصب و پیکره بندی با استفاده از composer قادر به نصب این سرویس می باشید:
## نحوه استفاده مطابق کد زیر تنظیمات شناسه، رمزعبور و شماره تماس ارسال کننده را وارد نمائید:
### متدها
#### 1- متد ارسال پیامک

sendMessage($reciver_number, $text_message)

مثال :
#### 2- متد ارسال کد احراز هویت 2FA یا (Two Factor Authentication)

sendAuthCode($reciver_number, $text_message = null, $autoGenerateCode = true)

نکته : اگر مقدار پارامتر autoGenerateCode$ برابر true باشد سامانه بطوراتوماتیک یک کد فعال سازی به کاربر ارسال می کند و چنانچه برابر با false باشد متن حاوی کد دلخواه ارسال می گردد.
مثال :
#### 3- بررسی صحت کد دریافتی احراز هویت ارسال شده توسط کاربر
چنانچه کد فعال سازی بصورت اتوماتیک به کاربر ارسال شده باشد، جهت صحت کد دریافتی از سوی کاربر می توان از این متد استفاده نمود.

checkAuthCode($reciver_number, $reciver_code)

مثال :
## Laravel
### پیکره بندی در لاراول
بعد از نصب پکیج ، فایل های config/services.php و env. را مطابق زیر ویرایش نمائید :
چنانچه از نسخه های پایین تر از 5.5 استفاده می نمائید ServiceProvider و aliase زیر را به فایل config/app.php اضافه نمائید:
### نحوه استفاده در لاراول
هم اکنون می توانید با استفاده از Facade این پکیج (RayganSms) به متدهای پکیج دسترسی نمایید :
### استفاده در سیستم اعلانات لاراول
جهت استفاده از سیستم اعلانات (Notefications) لاراول، پکیج raygan-sms-notification-channel را نصب و طبق مستندات مربوطه عمل نمائید.
## تولیدکننده - [Farhad Mirzapour](https://github.com/farhadmirzapour) ## لایسنس لایسنس این پکیج (MIT) می باشد . جهت اطلاعات در مورد این لایسنس به [License File](LICENSE) مراجعه نمایید.

All versions of new-raygan-sms with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
illuminate/support Version *
illuminate/notifications Version *
guzzlehttp/guzzle Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package trez-sms/new-raygan-sms contains the following files

Loading the files please wait ....