Download the PHP package sepayvn/laravel-sepay without Composer

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

Laravel Package cho SePay - Giải pháp tự động hóa cho thanh toán chuyển khoản ngân hàng

Đăng ký tài khoản

Đăng ký tài khoản tại SePay!

Cài đặt

Bạn có thể cài đặt package qua composer:

Phiên bản dành cho Laravel 7, 8 và PHP 7.4 trở lên

Publish và chạy migrations:

Publish file config:

Nội dung của file config sau khi publish:

Tùy chọn, bạn có thể publish views:

Sử dụng

Tạo SePayWebhookListener

Webhook

  1. Truy cập SePay Webhooks
  2. Bấm nút Thêm Webhook ở góc trên bên phải
  3. Các mục cần điền thì bạn hãy điền, riêng các mục sau cần lưu ý

    ![](<images/Screenshot 2024-05-27 at 18.50.00.png>)

    1. thay domain.com thành tên miền của bạn
    2. Kiểu chứng thực: là Api Key
    3. API Key: nhập vào 1 dãy bí mật ngẫu nhiên gồm chữ và số (không có dấu như hình ví dụ nhé)
  4. Sửa file .env trong ứng dụng Laravel của bạn thành như sau

    ![](<images/Screenshot 2024-05-27 at 19.33.19.png>)

    1. SEPAY_WEBHOOK_TOKEN - Là API Key nhập ở bước 3.3 ở trên
    2. SEPAY_MATCH_PATTERN - Mặc định là SE bạn có thể sửa cho phù hợp với ứng dụng của bạn

Kiểm tra với Postman

Bấm import trên postman và dán đoạn mã dưới đây vào

Kiểm thử

Ủng hộ nhà phát triển

Bạn có thể hỗ trợ nhà phát triển gói này bằng cách sử dụng những dịch vụ sau:

Lịch sử thay đổi

Vui lòng xem CHANGELOG để biết thêm thông tin về các thay đổi gần đây.

Đóng góp

Vui lòng xem CONTRIBUTING để biết chi tiết.

Bảo mật

Vui lòng xem chính sách bảo mật để biết cách báo cáo lỗ hổng bảo mật.

Tác giả

Giấy phép

Giấy phép MIT. Vui lòng xem License File để biết thêm thông tin.


All versions of laravel-sepay with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/contracts Version ^9.28 | ^10.0 | ^11.0 | ^12.0 | ^13.0
spatie/laravel-package-tools Version ^1.16
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 sepayvn/laravel-sepay contains the following files

Loading the files please wait ...