Download the PHP package larabook/gateway without Composer

On this page you can find all versions of the php package larabook/gateway. 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 gateway

پکیج اتصال به تمامی IPG ها و بانک های ایرانی. این پکیج با ورژن های ( ۴ و ۵ و ۶ ) لاراول سازگار می باشد پشتیبانی تنها از درگاهای زیر می باشد: 1. MELLAT 2. SADAD (MELLI) 3. SAMAN 4. PARSIAN 5. PASARGAD 6. ZARINPAL 7. PAYPAL 8. ASAN PARDAKHT 9. PAY.IR ( برای فراخوانی از 'payir' استفاده نمایید) 10. Irankish (**جدید** - برای فراخوانی از 'irankish' استفاده نمایید) ---------- **نصب**: دستورات زیر را جهت نصب دنبال کنید : **مرحله ۱)**
**مرحله ۲)** تغییرات زیر را در فایل config/app.php اعمال نمایید: **توجه برای نسخه های لاراول ۶ به بعد این مرحله نیاز به انجام نمی باشد**
**مرحله ۳) - انتقال فایل های مورد نیاز** برای لاراول ۵ :
برای لاراول ۶ به بعد :
**مرحله ۴) - ایجاد جداول**
**مرحله ۵)** عملیات نصب پایان یافته است حال فایل gateway.php را در مسیر app/ باز نموده و تنظیمات مربوط به درگاه بانکی مورد نظر خود را در آن وارد نمایید . حال میتوایند برای اتصال به api بانک از یکی از روش های زیر به انتخاب خودتان استفاده نمایید . (Facade , Service container):
  1. Gateway::make(new Mellat())
  2. Gateway::make('mellat')
  3. Gateway::mellat()
  4. app('gateway')->make(new Mellat());
  5. app('gateway')->mellat();
مثال :‌اتصال به بانک ملت (درخواست توکن و انتقال کاربر به درگاه بانک) توجه :‌ مقدار متد price به ریال وارد شده است و معادل یکصد تومان می باشد یک روت از نوع GET با آدرس /bank/request ایجاد نمایید و کد های زیر را در آن قرار دهید .
و سپس روت با مسیر /bank/response و از نوع post ایجاد نمایید و کد های زیر را در آن قرار دهید :
در صورت تمایل جهت همکاری در توسعه : 1. توسعه مستندات پکیج. 2. گزارش باگ و خطا. 3. همکاری در نوشتن ماژول دیگر بانک ها برای این پکیج . درصورت بروز هر گونه [باگ](https://github.com/larabook/gateway/issues) یا [خطا](https://github.com/larabook/gateway/issues) . ما را آگاه سازید . این پکیج از پکیج دیگری بنام poolport مشتق شده است اما برخی از عملیات آن متناسب با فریموورک لارول تغییر کرده است

All versions of gateway with dependencies

PHP Build Version
Package Version
Requires nesbot/carbon Version *
paypal/rest-api-sdk-php 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 larabook/gateway contains the following files

Loading the files please wait ....