Download the PHP package sixersoft/eps without Composer

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

EPS Payment Gateway for Laravel

sixersoft/eps — Simple, clean, and production-ready integration for EPS (Easy Payment System) Bangladesh (eps.com.bd).


Installation

1. Install via Composer

2. Publish the configuration file

This will create config/eps.php.

3. Add credentials to .env

4. (Optional) Clear cache


Basic Usage

Using Facade (Recommended - Easiest)

Using Dependency Injection

Verify Payment (in success/fail/cancel routes)

Important: Always call verifyTransaction() on callback pages for security.


Currency Conversion to BDT (The Special Feature)

EPS only accepts amounts in BDT. This package makes it dead simple to accept payments in other currencies.

Enable in config/eps.php or .env

Usage

Manual Conversion (anywhere in your app)

How to keep rates updated?

Recommended (simple & free):

You can completely disable the feature (EPS_CURRENCY_CONVERSION=false) — the package will then expect you to always pass BDT amount.


Full Configuration Reference

See the published config/eps.php. Most important keys are in .env.

You can also override at runtime:


Required Fields for initializePayment()

Field Required Notes
success_url Yes Your success callback
fail_url Yes Your fail callback
cancel_url Yes Your cancel callback
customer_name Yes
customer_email Yes
customer_phone Yes
customer_address Yes
customer_city Yes
customer_state Yes
customer_postcode Yes
amount + currency Yes* Or use total_amount (in BDT)

Optional but recommended:


Callback URLs Best Practice

Create three routes in your app:

Pass these exact URLs when calling initializePayment().

In the callback controllers, always verify using EPS::verifyTransaction().


Logging

All requests/responses are logged to your default log channel (or EPS_LOG_CHANNEL).

Check storage/logs/laravel.log for [EPS Package].


Testing / Sandbox

Use the sandbox credentials provided by EPS.

Example sandbox credentials (for testing only — replace with yours):

After going live, set EPS_IS_SANDBOX=false and use production credentials.


Example Full Flow (Controller)

Ready-to-use example files are included in the examples/ folder of this package:

Copy them into your project and customize as needed.

A beautiful demo product page (from the original integration) is also available in the GitHub repository.


Security Notes


Contributing

Pull requests are welcome! Please open an issue first for major changes.


License

MIT License. See LICENSE file.


Support

Developed by SixerSoft — Making Bangladesh payment integration easy.


Repository: https://github.com/sixersoft/eps

Packagist: https://packagist.org/packages/sixersoft/eps

Happy integrating! 🇧🇩


All versions of eps with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/http Version ^10.0|^11.0|^12.0
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 sixersoft/eps contains the following files

Loading the files please wait ...