Skip to content

payOSHQ/payos-demo-php-laravel

Repository files navigation

payOS Demo Laravel Application

This is a demo Laravel application integrate with payOS API base on template laravel/react-starter-kit.

Prerequisites

  • PHP >= 8.2
  • Composer
  • payOS credentials for payment-requests or payouts

How to Run the Application

composer run setup

# fill the required environment variables in the .env file

composer run dev

The application will be accessible at http://localhost:8000.

Features

  • OrderController: Implement payment-requests API.

    php artisan route:list --name=api.payment.orders
  • WebhookController: Handle payment webhooks.

    php artisan route:list --name=api.payment.webhooks
  • TransferController: Implement payouts API.

    php artisan route:list --name=api.payment.transfers

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published